I am using NSUserDefaults in my application. It was working fine until i was having ios 4.3 and xcode 4.0. But now i have updated to ios 5 and xcode 4.2…
It’s giving error!
NSString *storedLanguage = [[NSUserDefaults standardUserDefaults] objectForKey:@"language"];
*** -[NSUserDefaults objectForKey:]: message sent to deallocated instance 0x26e800
I don’t know how to resolve it..i have tried all my effort!
Any help will be appreciated!
Thanks
Well from your question its looking like early release of some object.
Cant say where is the problem.
But give a try to this one
=============================== OR ================================
This one
They might help you…
Cheers