XCODE2010. 11. 6. 21:11
[아이폰 앱 개발] cancel alert

// Show an alert if "Appleseed" is not in Contacts

UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error" 

message:@"Could not find Appleseed in the Contacts application" 
  delegate:nil 
  cancelButtonTitle:@"Cancel" 
  otherButtonTitles:nil];

[alert show];

[alert release];

Posted by 오늘마감

댓글을 달아 주세요