samedi 28 mars 2015

Generate a localized random NSString

Apologies if this has already been asked, but some google search could not find it.


Does anyone please know of any method to generate a random string in iOS which respects the current language of the device?


The idea is that a quick 'unlock code' can be generated using the function; the trouble is that for languages other than English entering the code using the keypad will not be quick or intuitive, particularly if the user does not have the English keyboard enabled.





Aucun commentaire:

Enregistrer un commentaire