This might be a rather obvious question, but can you launch the Safari browser from an iPhone app?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- Is there a non-java, cross platform way to launch
- Safari blocks play() on video despite being called
- How do you detect key up / key down events from a
In Swift 3.0, you can use this class to help you communicate with. The framework maintainers have deprecated or removed previous answers.
you can open the url in safari with this:
With iOS 10 we have one different method with completion handler:
ObjectiveC:
should be the following :
Maybe someone can use the Swift version:
In swift 2.2:
And 3.0:
UIApplication has a method called openURL:
example: