PDA

View Full Version : Need help with Tab Bar Controller




guyddor
Aug 20, 2009, 09:17 AM
Hi,

I built a tab bar controller app and I want to keep the user settings (the place of the icon in the tab bar), like in the iPod app.


what to do?

Thaks!



dusanv
Aug 20, 2009, 09:20 AM
NSUserDefaults (http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSUserDefaults_Class/Reference/Reference.html)?

Is that what you're looking for?

guyddor
Aug 20, 2009, 09:59 AM
???

dejo
Aug 20, 2009, 10:14 AM
Well, are you storing the arrangement of the tabs into some kind of variable or object? If so, just save that into [NSUserDefaults standardUserDefaults].

PhoneyDeveloper
Aug 20, 2009, 10:27 AM
http://www.google.com/search?hl=en&as_q=nsuserdefaults+UItabbarcontroller&as_epq=&as_oq=&as_eq=&num=100&lr=&as_filetype=&ft=i&as_sitesearch=&as_qdr=all&as_rights=&as_occt=any&cr=&as_nlo=&as_nhi=&safe=off