ios - How does whatsapp determine country of the user without asking for location details? -
when signing whatsapp, need enter phone number. whatsapp knows (somehow) country in , pre-selects country you, need confirm that.
for record, whatsapp not ask permission access location, still know (vaguely, maybe). how this?
something like
nsstring *locale = [[nslocale currentlocale] localeidentifier];
that work vast majority of people in own country, , haven't set locale random other country.
Comments
Post a Comment