出于某种原因,我无法再使用我的母语德语键盘在 iOS 模拟器中输入文本。
下载 Xcode 6.1(其中包含 iOS 8.1)后,我被美国布局困住了。
我尝试了更改所有硬件/键盘设置、删除 ~/Library/Preferences/com.apple.iphonesimulator.plist
以及重置 iOS 模拟器等操作。
没有任何帮助!
我应该重新安装完整的软件包吗?
最佳答案
这是 iOS 8.1 模拟器运行时的一个已知问题,在 Xcode 6.1 Release Notes 中提到。 :
Localization and Keyboard settings, including 3rd party keyboards, are not correctly honored by Safari, Maps, and developer apps in the iOS 8.1 Simulator. [NSLocale currentLocale] returns en_US and only the English and Emoji keyboards are available. (18418630, 18512161)
对于应该影响所有应用而不仅仅是语言环境(例如:键盘设置)的其他首选项也是如此。
如 iOS SDK 8.2 beta 2 Release Notes 中所述,这个问题应该在 iOS 8.2 中得到解决:
Fixed in beta 2 Additional keyboards, including 3rd party keyboards, may not appear in Safari, Maps, or 3rd party apps in iOS Simulator
如果您需要使用 iOS 8.1,您应该能够在某些应用程序中使用德语布局,但在其他应用程序中则不能。例如,Safari 和 map 是它无法使用的两个应用示例。
关于iOS 8.1 模拟器总是使用美国键盘布局,尽管德国硬件键盘,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26547774/