Q:

Objective C: Recognize if user is opening app for first time

I made an alert that randomly appears to remind the user to rate the app and then set a key BOOL to YES so that it doesn't pop up when a user hits rate.  I need to initially set this to NO.  Is there a function or variable that knows if its the first time a user is opening an app? 

A:

If you're using NSUserDefaults to store this BOOL, then when you ask the defaults for boolForKey:, it will automatically return NO if the BOOL does not exist in the defaults.