View Single Post
  #1 (permalink)  
Old December 22nd, 2010, 04:31 PM
Santi Santi is offline
Registered User
 
Join Date: Dec 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 3 Using the Alert View

Please if someone can help me
I just start to learn IOS and I copy simple code and run the IOS Simulator and it show a blank screen, doesn't show the "Hello", "This is an alert view"

- (void)viewDidUnload {
UIAlertView *alert = [[UIAlertView alloc]
initWithTitle:@"Hello"
message:@"This is an alert view"
delegate:self
cancelButtonTitle:@"OK"
otherButtonTitles:nil];

[alert show];
[alert release];
[super viewDidLoad];

}