我已经创建了一个示例应用程序,该应用程序具有textField
并且它的返回键类型应该完成。我想将文本从“完成”更改为“发布”。UITextField返回键文本从“完成”更改为“发布”
我真的需要这样做。
请帮帮我吗?提前致谢。
我已经创建了一个示例应用程序,该应用程序具有textField
并且它的返回键类型应该完成。我想将文本从“完成”更改为“发布”。UITextField返回键文本从“完成”更改为“发布”
我真的需要这样做。
请帮帮我吗?提前致谢。
您将获得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.If我可以在uikeyboard中添加uibkey的子视图在这里已经提到了.http://www.neoos.ch/news/46-development/54-uikeyboardtypenumberpad-and-the-missing-return-key ..然后苹果可以拒绝我的申请? – raj