Create settings for myApplication Iphone

I am new to iPhone development.

I have seen many applications that have their settings stored in the iPhone settings application. For example, the default username and password are stored in the settings for "myApp."

Whenever a user launches "myApp", the username and password are downloaded from the settings application.

How to implement this function in your application?

any links / any help / any source code / samples

Thanks in advance for liking me.

0
source share
2 answers
+2
source

[NSUserDefaults standardUserDefaults] will provide you with a default object from which you can access keyFor and setKeyFor to get / set values. For example, [[NSUserDefaults standardUserDefaults] boolForKey: @ "UseSounds"] returns "true" if the user has decided to turn off sounds and your settings panel defines "UseSounds" as the key.

NSUserDefaults Link

+1
source

All Articles