MiniAppExternalWebViewController
public class MiniAppExternalWebViewController : UIViewController
extension MiniAppExternalWebViewController: WKNavigationDelegate
Undocumented
-
Presents a webview modally to handle external URLs.
Declaration
Swift
public class func presentModally(url: URL, externalLinkResponseHandler: MiniAppNavigationResponseHandler?, customMiniAppURL: URL? = nil, onCloseHandler: MiniAppNavigationResponseHandler?)Parameters
urlA url to load in a webview
externalLinkResponseHandlerA closure that will provide triggered url to the Mini App view.
customMiniAppURLThe url that was used to load the Mini App.
-
Undocumented
Declaration
Swift
public override func loadView() -
Undocumented
Declaration
Swift
public override func viewDidLoad() -
Undocumented
Declaration
Swift
public func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) -
Undocumented
Declaration
Swift
public func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error) -
Undocumented
Declaration
Swift
public func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void)
MiniAppExternalWebViewController Class Reference