Store a value in NSUserDefaults when you update the db Sent from my iPhone
On Apr 30, 2012, at 1:01 PM, diviner <[email protected]> wrote: > Dear Nic Wise, > > Thank you for your help. But I don't get the point. > > I have tried the command: > NSBundle.MainBundle.ObjectForInfoDictionary("CFBundleVersion").ToString(); > > It always shows my compiled (current) version of the running apps, and it is > user upgrading app's version, right? So how can I get the another (previous) > version for comparison? > > I don't know how to determine the app that is whether first running after > installation or not. > > Would you say more details? > > Thank you very much. > > Diviner. > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/How-to-run-a-method-just-on-upgrading-tp4597753p4598921.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
