2014-03-25 3 views
0

편집 할 때 UiTextField가 있습니다. 이모티콘으로 키보드를 변경합니다. 그런 다음 다시 돌아가서 다른 화면에서 다른 텍스트보기를 엽니 다. 하지만 기본 키보드 대신 이모 지 키보드가 표시됩니다. 이 문제를 해결하도록 도와주세요. 감사합니다다른 화면으로 이동할 때 UITextField의 키보드 유형을 변경하십시오.

+0

이 코드를 추가하십시오 [textfield setKeyboardType : UIKeyboardTypeAlphabet] – Rose

+0

이 스레드 확인 - http://stackoverflow.com/questions/6748973/how-to-reset-keyboard-view-from-symbols-to-alphabet-programatically – rshankar

+0

감사합니다. @ 귀하의 의견에 대한 장미 :) UIKeyboardTypeAlphabet 키보드 유형을 설정하여 작업. – user3458584

답변

0

[textfield setKeyboardType:UIKeyboardTypeAlphabet] 
+0

Hey Rose는 UIKeyboardTypeEmailAddress에서 작동하지 않습니다. 어떤 생각을 고치는 방법? – user3458584

+0

[textfield setKeyboardType : UIKeyboardTypeEmailAddress]로 확인하십시오. – Rose

+0

UIKeyboardTypeEmailAddress를 설정하여 시도했습니다. 하지만 그 그림 이모티. – user3458584

2

나는 그것을 고칠 수 있다고 생각하지 않습니다. 사용자가 원하는 키보드를 결정할 수 있으며 설정은 자신의 앱뿐만 아니라 모든 앱에 적용됩니다.

0

키보드 구현에 대한 자세한 내용은 Apple documentation을 참조하십시오.

0

설정 키보드 유형

[textField setKeyboardType:UIKeyboardTypeEmailAddress]; 

이 키보드의 반환 형식 인의 UITextField에 대한 keyboardType을 설정하십시오,

UIKeyboardTypeDefault, 
    UIKeyboardTypeASCIICapable, 
    UIKeyboardTypeNumbersAndPunctuation, 
    UIKeyboardTypeURL, 
    UIKeyboardTypeNumberPad, 
    UIKeyboardTypePhonePad, 
    UIKeyboardTypeNamePhonePad, 
    UIKeyboardTypeEmailAddress, 
    UIKeyboardTypeDecimalPad, 
    UIKeyboardTypeTwitter, 
    UIKeyboardTypeWebSearch 

애플 Libaray을 확인 Input KeyBoard Types

+0

답장을 보내 주셔서 감사합니다. 그러나 것은 키보드를 이모티콘으로 바꾸는 것입니다. 그런 다음 다시 돌아가서 다른 화면에서 다른 텍스트보기를 엽니 다. 하지만 기본 키보드 대신 이모 지 키보드가 표시됩니다. 이모티콘 키보드를 제거하려면 어떻게해야합니까? – user3458584

관련 문제