KEYBOARD 썸네일형 리스트형 [Android] 키보드 감추기~! Android에서 키보드를 감추는 코드이다. final InputMethodManager manager = (InputMethodManager)this.getSystemService(Context.INPUT_METHOD_SERVICE); manager.hideSoftInputFromWindow(this.getCurrentFocus().getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS); 더보기 [IOS] Keyboard 값 동적으로 받아오기 아래의 코드와 같이 사용하면 키보드가 보일때마다 동적으로 값을 받아올수 있다.~! [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWasShown:) name:UIKeyboardDidShowNotification object:nil]; - (void)keyboardWasShown:(NSNotification *)notification { // Get the size of the keyboard. CGSize keyboardSize = [[[notification userInfo] objectForKey:UIKeyboardFrameBeginUserInfoKey] CGRectValue].size; //your .. 더보기 이전 1 다음