Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to change default browser on iphone?

Tags:

ios

iphone

I am new to iOS and I want to know that, How to change the default browser as Google chrome on iPhone Simulator?

Thank you in advance.

like image 967
Vandit Mehta Avatar asked Jan 22 '26 16:01

Vandit Mehta


2 Answers

As xlc has mentioned the Simulator doesn't allow you to install third party applications. It's designed to let you test your code and how it interacts with iOS.

like image 181
ServerMonkey Avatar answered Jan 24 '26 08:01

ServerMonkey


You cannot change default iOS default browser unless and until your device is jailbroken.

but you can open links in google chrome from your app using :

[[UIApplication sharedApplication] canOpenURL:
    [NSURL URLWithString:@"googlechrome://http://www.nameofwebsitehere.com"]];

Note : this will not work on simulator and you should add a check to see if Google chrome is installed on device.

like image 29
Vaibhav Gautam Avatar answered Jan 24 '26 07:01

Vaibhav Gautam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!