NSUserdefault creating multiple file in Preferences folder iOS swift

Solution:

 In userdefaults you have to save the small amount of data.If you want to handle large amount of data you have to move to coreData model.

Because the app storage size will increase when you save all the data in userdefaults.Then finally the app will crash.Also the OS will kill your app when large amount of storage used.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift