Programmer macrumors member Original poster Jun 16, 2009 79 0 Jul 9, 2009 #1 Does anyone know how to make a UIAlertview show only on the first ever launch of the app for instance a directions pop up.
Does anyone know how to make a UIAlertview show only on the first ever launch of the app for instance a directions pop up.
dejo Moderator emeritus Sep 2, 2004 15,982 452 The Centennial State Jul 9, 2009 #2 I'd save a value to NSUserDefaults after the alert is shown. Then, whenever the app starts, query that value from the defaults and see if it's set. If so, skip the alert.
I'd save a value to NSUserDefaults after the alert is shown. Then, whenever the app starts, query that value from the defaults and see if it's set. If so, skip the alert.