Dev::iOS

Text Field에서 Return 키 입력 시 키보드 감추기

bluemong 2011. 12. 14. 16:28
반응형
1. Header에 추가
    - (IBAction)textFieldDoneEditing:(id)sender; 

2. Source에 추가
    - (IBAction)textFieldDoneEditing:(id)sender{
        [sender resignFirstResponder];
        // 추가 Code
    }

3. .xib에서 이벤트 연결
    DIdEndOnExit
 
 


 

'Dev::iOS' 카테고리의 다른 글

Focus 이동  (0) 2011.12.26
Storyboard에서 시작점 생성  (0) 2011.12.22
xcode upgrade 후 기존 project syntax color 표시 안되는 경우  (0) 2011.08.11
Xcode 삭제  (0) 2011.08.05
#pragma mark - xxxxx  (0) 2011.08.04