-3
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
{
NSString *enteredName = [[alertView textFieldAtIndex:0]text];
NSLog(@"name===>%@",enteredName);
}
viewDidLoad 또는 다른 함수에서 "enteredName"값에 액세스하는 방법. alert.alertViewStyle = UIAlertViewStylePlainTextInput을 사용했습니다.alertView clickedbuttonAtIndex 메서드에서 값에 액세스
thanx jerry ... :) – manish1990