I upload my website to UIWebView in my iOS app. How can I enable viewing and pop-up (3D Touch) for links in WebView?
Any ideas?
According to recent Apple docs, you can enable peek and pop in a UIWebView with the allowLinkPreview option. https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIWebView_Class/#//apple_ref/occ/instp/UIWebView/allowsLinkPreview
allowLinkPreview
The trick with this option is that it only appears in Safari, and in the state of the document you cannot get around this. If you want peek and pop to stay in your application, you need to consider using the SFSafariViewController, but you will lose control over viewing the users web view.
Source: https://habr.com/ru/post/1247372/More articles:How to use https JGit authentication using Kerberos - javaHttp file download fails if you have been idle for too long after loading a page (asp.net mvc) - htmlAdd a special restriction to avoid duplicate rows with this condition? - sqlHow can I make my UIPickerView Multiline fast? - iosCustom template and ng-click Angular Formally - javascriptRails ActiveRecord - update_all: how to update multiple fields at once with a mixed type of arguments - ruby ββ| fooobar.comHtml get color in rgb - javascriptRegister for global file drag events in Cocoa - cocoaSocial login on Android with Feathers JS back end - androidAzure Let Encrypt Error - sslAll Articles