I’m using NSUserDefaults very extensively. I’m saving inside NSUserDefaults many arrays of information about user, and using them later at another view.
My question is, is this a wrong approach? or this can be a problem at sending to AppStore?
Thank you..
Yes it is a wrong approach, but I do not believe that can be a problem to you when you send it to the AppStore.
What you probably have to do is add some configuration files and you manage that, or maybe use core data in your project, to give you a more precise answer only knowing your project.
Best regards.
EDIT to add better explanation when use NSUserDefaults
You only wants to use the NSUserDefaults to store configurations, that will be default to the user, like the user favorite color for your background for example.
You do not want to store in the NSUserDefaults, passwords, temporary information, if you are doing a game, you will not store there your ranking, and things like that.
From apple doc