Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Email function inside KINWebBrowser not running #60

Closed
terasupernova opened this issue Mar 27, 2017 · 0 comments
Closed

Send Email function inside KINWebBrowser not running #60

terasupernova opened this issue Mar 27, 2017 · 0 comments

Comments

@terasupernova
Copy link

terasupernova commented Mar 27, 2017

I create a simple html file like the photo below
simulator screen shot 27 mar 2017 4 24 58 pm

I use the KINWebBrowser to open the above html file, but i can't get result from "Send Email", "Call me" and "Link to App Store". The error logs shown

error Error Domain=NSURLErrorDomain Code=-1002 "unsupported URL" UserInfo=0x7a981220 {NSErrorFailingURLStringKey=itms://itunes.apple.com/us/app/apple-store/id375380948?mt=8, NSErrorFailingURLKey=itms://itunes.apple.com/us/app/apple-store/id375380948?mt=8, NSLocalizedDescription=unsupported URL, _WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x7a978ba0>}

The code for open KINWebBrowser:

let webBrowserNavigationController = KINWebBrowserViewController.navigationControllerWithWebBrowser() var webViewController = KINWebBrowserViewController() webViewController = webBrowserNavigationController!.rootWebBrowser() webViewController.showsURLInNavigationBar = true webViewController.showsPageTitleInNavigationBar = true webViewController.loadURLString(urlString) viewController.present(webBrowserNavigationController!, animated: true, completion: nil)

How to solve that?
Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant