Search Results

Search found 1 results on 1 pages for 'user309245'.

Page 1/1 | 1 

  • How do I make a UIAlertView happen only on the first start-up of an iPhone app?

    - by user309245
    I'm using the UIAlertView to make a pop-up happen once the app has started up. It works fine but I only want the pop up to happen on the first start-up of the app. At the moment I've got the UIAlertView in the AppDelegate class, after the application didFinishLaunching. Here is my code at the moment. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { sleep(4); UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Welcome!" message:@"SAMPLE!!!" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alert show]; [alert release]; I'm new to app development so sorry if this is simple. Thanks in advance! :)

    Read the article

1