I would like to pass a string to the Google search from my iOS app, so as to enable me to fetch the results in Safari.
相关问题
- CALayer - backgroundColor flipped?
- 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
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Using if let syntax in switch statement
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- Enum with associated value conforming to CaseItera
If you use your own web view (which you specified in your comment before you changed it to something completly different), you could use the
WKWebView
andURLRequest
to load and display the data. Don't forget to escape the query string, something like:You can do something like this:
Replace query with your search string.