Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we check Current Default browser in iOS programatically?

I am developing a browser-based application and had applied for default browser entitlements. I have received the provisioning entitlements from Apple and I am able to successfully set my app as the Default Browser. However, i am unable to determine programmatically if my App is currently set as Default Browser by the user or not. Is there any way I can determine the current Default Browser set by the user in iOS programmatically? My App supports iOS 14 and above.

like image 730
Akhil Arora Avatar asked Mar 07 '26 19:03

Akhil Arora


1 Answers

Apple provided this API as part of the latest iOS 18.2 updates.

https://developer.apple.com/documentation/UIKit/UIApplication/isDefault(_:)

It poses explicit examples for the Default Browser scenario, though it can be used for other default apps (e.g. mail app).

like image 80
Dario Avatar answered Mar 10 '26 07:03

Dario



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!