User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







objective-c.uikit.framework:uialerview.h

This is an old revision of the document!


The UIAlertView class is used for displaying alerts inside an application.

Example:

#import <UIKit/UIKit>
 
- (void) viewDidLoad {
   UIAlertView *alert = [[UIAlertView alloc] 
                          initWithTitle:@"Sample Alert"
                          message:@"this is a simple message!"
                          delegate:self
                          cancelButtonTitle:@"Cancel"
                          otherButtonsTitle:@"HI", @"Bye", nil];
 
    // display alert view                          
   [alert show];
 
   // take it out of memory
   [alert release];
}

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
objective-c.uikit.framework/uialerview.h.1371634649.txt · Last modified: 2024/02/16 00:48 (external edit)

Impressum Datenschutz