我正在开发一个翻译应用程序,我无法在手表上使用细微差别speachKit,因此决定采用默认方法:
- (void)presentTextInputControllerWithSuggestions:(NSArray *)suggestions
allowedInputMode:(WKTextInputMode)inputMode
completion:(void (^)(NSArray *results))completion;
现在我遇到的问题是,它识别了基于[NSLocale currentLocale]
语言的文本,但我需要修改它们。
更多的东西,在强点击(应用武力)我得到一个语言选择菜单。
问题:( a)在调用文本输入法之前,我可以调用该菜单吗?
( b)以编程方式更改系统区域设置的方式吗?
( c)或者至少编辑plist.info文件?
发布于 2016-01-27 12:55:15
我认为目前无法以编程方式更改输入语言。presentTextInputControllerWithSuggestions
使用当前在iPhone上选择的键盘的语言。
https://stackoverflow.com/questions/34092500
复制相似问题