textField
이있는 샘플 응용 프로그램을 만들었으며 반환 키 유형을 수행해야합니다. 텍스트를 '완료'에서 '게시'로 변경하고 싶습니다.UITextField 반환 키 텍스트가 "Done"에서 "Post"로 변경됩니다.
정말 필요합니다.
도와주세요. 미리 감사드립니다.
textField
이있는 샘플 응용 프로그램을 만들었으며 반환 키 유형을 수행해야합니다. 텍스트를 '완료'에서 '게시'로 변경하고 싶습니다.UITextField 반환 키 텍스트가 "Done"에서 "Post"로 변경됩니다.
정말 필요합니다.
도와주세요. 미리 감사드립니다.
OS에 정의 된 리턴 키와 키보드 유형을 얻을 수 있습니다. 키보드의보기 계층 구조를 해킹하여 해당 단추를 변경하려고하지 않는 한 정말 나쁜 계획 일 수 있습니다. (여기에 표준 권고는 그들에게 더/다른 옵션을 싶습니다 알려 애플과 버그 리포트를 제출하는 것입니다
이제 애플은 이러한 유형 지원합니다.
typedef enum {
UIReturnKeyDefault,//Set the text of the return key to “return”.
UIReturnKeyGo,//Set the text of the return key to “Go”.
UIReturnKeyGoogle,//Set the text of the return key to “Google”.
UIReturnKeyJoin,//Set the text of the return key to “Join”.
UIReturnKeyNext,//Set the text of the return key to “Next”.
UIReturnKeyRoute,//Set the text of the return key to “Route”.
UIReturnKeySearch,//Set the text of the return key to “Search”.
UIReturnKeySend,//Set the text of the return key to “Send”.
UIReturnKeyYahoo,//Set the text of the return key to “Yahoo”.
UIReturnKeyDone,//Set the text of the return key to “Done”.
UIReturnKeyEmergencyCall,//Set the text of the return key to “Emergency Call”.
} UIReturnKeyType;
어쩌면 당신이 대신 보내 사용할 수 있습니다.
ok.uikeyboard에서 uibutton의 하위 뷰를 추가 할 수 있다면 여기를 참조하십시오 .http : //www.neoos.ch/news/46-development/54-uikeyboardtypenumberpad-and-the-missing-return-key .. 그러면 사과가 내 신청서를 거부 할 수 있습니까? – raj