美文网首页iOS开发
IOS 键盘替换文字

IOS 键盘替换文字

作者: iOS开发小学生 | 来源:发表于2018-03-12 09:37 被阅读19次

textField.returnKeyType = UIReturnKeySend;

typedef NS_ENUM(NSInteger, UIReturnKeyType) {

UIReturnKeyDefault,

UIReturnKeyGo,//去往

UIReturnKeyGoogle,

UIReturnKeyJoin,//加入

UIReturnKeyNext,//下一步

UIReturnKeyRoute,

UIReturnKeySearch,//搜索

UIReturnKeySend,//发送

UIReturnKeyYahoo,

UIReturnKeyDone,//完成

UIReturnKeyEmergencyCall,

UIReturnKeyContinue NS_ENUM_AVAILABLE_IOS(9_0),

};

当然,要显示中文,还得设置info.plist中

Localization native development region  为 cn

相关文章

网友评论

    本文标题:IOS 键盘替换文字

    本文链接:https://www.haomeiwen.com/subject/iaqoxftx.html