ios - Generate a localized random NSString -


apologies if has been asked, google search not find it.

does please know of method generate random string in ios respects current language of device?

the idea quick 'unlock code' can generated using function; trouble languages other english entering code using keypad not quick or intuitive, particularly if user not have english keyboard enabled.

one easy option generate string using digits 0-9. present standard number pad.

however, should verify standard number pad shows digits 0-9 locales. ones verify arabic, chinese, , japanese locales, don't recall sure shows in cases.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -