Check if a setting has been changed?

Discussion in 'iOS Programming' started by zerocustom1989, Aug 6, 2010.

  1. macrumors regular

    Sep 5, 2007
    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.
  2. macrumors 6502

    Sep 17, 2007
    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.

Share This Page