Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zerocustom1989

macrumors regular
Original poster
Sep 5, 2007
247
22
I want to implement code that will erase all core-data entities if a particular setting is changed in the settings app. Is this possible? Im not aware of any methods that return a "setting changed" value.
 
I want to implement code that will erase all core-data entities if a particular setting is changed in the settings app. Is this possible? Im not aware of any methods that return a "setting changed" value.

Neither am I. You just need to keep checking your setting. Of course the only way the setting is changed is when the user leaves your app to go to the setting app so you don't really need to recheck all the time. You just need to recheck whenever you get the applicationWillEnterForeground message.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.