2011-04-25 5 views

답변

3

는 UITextField에 대한 대리자는

textField.delegate = self; 

그런 다음 대리자 내에서 구현 설정 :

- (BOOL)textFieldShouldBeginEditing:(UITextField *)textField { 
    if (condition) { 
     return YES; 
    } 
    else { 
     return NO; 
    } 
} 
관련 문제