Send to Safari and search using the configured search provider on iPhone?

I would like to be able to send the user from my application and to Safari, as if they had searched for some of the conditions that I provide. I understand that I can create a URL for Google search and submit them there, however, the user has the opportunity to configure one of several search engines, and I would like to use the one that they chose, not Google.

Is there any way to do this?

+3
source share
1 answer

I am sure this is not possible.

iPhone , URL. : http://wiki.akosma.com/IPhone_URL_Schemes

, , Safari:

NSString *stringURL = @"http://my.url.com/";
NSURL *url = [NSURL URLWithString:stringURL];
[[UIApplication sharedApplication] openURL:url];

iPhone Safari, URL http. , URL , Google:

http://www.google.com/search?q=MY_SEARCH_TERM

, Apple URL, search://, . , , .

, "" - , . Safari URL-. , , Apple .

+4

Source: https://habr.com/ru/post/1754143/


All Articles