Alertview in iphone application development [closed]
I am new to iphone application.In my current app.,I have uibutton(changepassword).my requirement is,when i click on the button,it will shows alertview which contains three textfileds(current password,newpassword,retype password) and two uibuttons(submitbutton,cancel button). can anyone send me the required code with explanation?
// Create a new alert object and set initial values.
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Title"
message:@"Message"
delegate:nil
cancelButtonTitle:@"Ok"
otherButtonTitles:nil];
// Display the alert to the user
[alert show];
// Release the alert
[alert release];
Examples and explanations here: http://iloveco.de/uikit-alert-types/
Reference: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIAlertView_Class/UIAlertView/UIAlertView.html
精彩评论