M matthew858 macrumors member Original poster Apr 15, 2008 97 0 Sydney, Australia Sep 20, 2008 #1 How would I go about displaying a simple alert (one button) that only displays the first time the app is launched?
How would I go about displaying a simple alert (one button) that only displays the first time the app is launched?
robbieduncan Moderator emeritus Jul 24, 2002 25,611 893 Harrogate Sep 21, 2008 #2 In your application delegate have some code that checks NSUserDefaults for a specific key. If it's not there show the alert. If it is there don't. Once you show the alert the first time write a value for that key into the defaults. Simple.
In your application delegate have some code that checks NSUserDefaults for a specific key. If it's not there show the alert. If it is there don't. Once you show the alert the first time write a value for that key into the defaults. Simple.