I want to make a button with which a user can dial an emergency number.
There seems to be no specific method to call, so I think I need to use
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:phoneNumber]];
and assign a phone number yourself. Nevertheless, although I know that it is 911 in the USA, 999 in England, etc. I'm not sure how to determine which country the user is in. I can get their locale, but if they install their language manually or travel outside their country, that would be unreliable. I can decide their location, but this will not work if they have disabled GPS or do not have an internet connection.
I heard that 112 is now the universal standard for GSM phones - will it work on all iPhones?
Toby source share