XCode Tutorial: make a Pop up/Alert
Xcode download
http://developer.apple.com/xcode/
//in the pop_upViewController.h
(IBAction)popup:(id)sender;
//in the pop_upViewController.m
(IBAction)popup:(id)sender {
UIAlertView *alertView;
alertView = [[UIAlertView alloc] initWithTitle:@"title" message:@"hi" delegate:nil cancelButtonTitle:@"cancel" otherButtonTitles:nil, nil];
[alertView show];
[alertView release];
}
Download Project
http://www.megaupload.com/?d=57MN30FN