Method Called only After App Update

ios, objective-c

Solution

I would set a value in NSUserDefaults after you have called the function one time. See the accepted answer here: iOS : Call a method just one time

If you need to run after an update, you should include an always increasing number, or pull the build number, and check against the saved value. This will allow you to know if the app has been updated.

Problem

I have a Scenario , where i have to call a Method only once , whenever a User Will Update the Application or make a Fresh Install. SO my Question is there is any particular Method to be called in App Delegate , After We update the Application , so if someone can tell me a another way to Achieve this , that would be really appreciated.

Original source