Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Alert prompt on screen

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 284
    Comment on it

    Hi,

    whenever you need an Alert prompt, you simply need to create an object of UIAlertView and show the object wherever alert prompt is needed.
    For example -

    UIAlertView *alertView= [[UIAlertView alloc] initWithTitle:@"CAUTION" message:@"message written in alertview" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
    
    if ( condition)
    
    [alertView show];

    -and the alert prompt will be shown after if condition .

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: