简体   繁体   English

如何在8.x和9.x模拟器中同时更改运营商文字?

[英]How to change Carrier text in both 8.x and 9.x simulator?

I have followed answer by KrauseFx and Anson here , but the only simulator changed is iOS 10 simulator, not 8.x and 9.x. 在这里 ,我遵循了KrauseFx和Anson的回答,但唯一更改的模拟器是iOS 10模拟器,而不是8.x和9.x。

How to change Carrier text in both 8.x and 9.x simulator? 如何在8.x和9.x模拟器中同时更改Carrier文字?

You can change this by editing this file: 您可以通过编辑以下文件来更改此设置:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/CoreServices/SpringBoard.app/French.lproj/SpringBoard.strings As the path suggests, I'm French. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/System/Library/CoreServices/SpringBoard.app/French.lproj/SpringBoard.strings如路径所示,我是法国人。 Switch to whichever localization you choose. 切换到您选择的任何本地化。

Inside this strings file (editable with XCode if it's a binary plist), you'll find a SIMULATOR_CARRIER_STRING key. 在此字符串文件中(如果是二进制plist,则可以用XCode编辑),您将找到SIMULATOR_CARRIER_STRING键。 Change its value, fire up your simulator, and there you go. 更改其值,启动模拟器,然后就可以了。

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

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