ios - How to know the previous language used by device -
How can you know the previous language used by the device?
Depending on whether the previous and present language is not so, I will update the DB and Vice President
Actually if the past and present are not the same, then the table The content must be deleted and updated on the basis of the current language. Now I suggest that store the current database in your database or NSUser default and check for the current language regularly and match your database. If you have received the change, it means that the existing NSUserDefaults * defs = [NSUserDefaults StandardUserDefaults]; NSERE * languages = [ObjectForchy: defragmented] "Apple language"]; NSString * FavoriteLeg = [languagesObjectIndexX: 0];
preferredLang is the current language and the previous database that you can get from your database or NSUser default and whatever you want.
Comments
Post a Comment