简体   繁体   English

iPhone uiswitch不显示开/关

[英]iphone uiswitch not displaying on/off

I recently updated xcode to 4.2 and my iphone 3gs that I use for testing to iOS5. 我最近将xcode更新为4.2,并将用于测试iOS5的iphone 3gs更新。 Since then all the uiswitches no longer show on/off. 从那时起,所有uiswitch都不再显示开/关。 instead they display i/o. 而是显示I / O。 this is only on the iphone. 这仅在iPhone上。 on the simulator they appear correct. 在模拟器上,它们看起来正确。 any idea what is causing this? 知道是什么原因造成的吗?

I had this same problem for iOS5 in the simulator and the device. 对于模拟器和设备中的iOS5,我也有同样的问题。

I added the "Localization native development region" key to my info.plist file and it fixed the problem. 我在我的info.plist文件中添加了“本地化本机开发区域”键,它解决了该问题。

我相信这与本地化有关-您最近是否有机会更改3GS上的系统语言?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM