MKReverseGeocoder;我可以只用英文获取位置信息吗?
你好呀 我在我的应用程序中使用核心定位,一切都运行良好。除了我想让 mkreversecoder 给我英文的位置。
我的应用程序的某些部分取决于位置,它根据位置从服务器获取一些数据。这里的问题是 mkreversecoder 在检索国家/地区时遵循手机的语言
,因此澳大利亚变为 오스트 레일 리아
无论如何,我可以强制 mkreversegeocoder 仅以英语提供位置吗?
谢谢
Hi there
I am using corelocation in my app and everything works fine and well. Except that i would like to have mkreversecoder give me the location in english.
Some parts of my app are dependent on the location, where by, it grabs some data from the server based on the location. The problem here is mkreversecoder follows the phone's language when retrieving the country
So australia becomes 오스트 레일 리아
Is there anyway that i can force mkreversegeocoder to give me location only in english?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
现在我选择了这种方法
[[NSUserDefaults standardUserDefaults] setObject: [NSArray arrayWithObjects:@"en", nil] forKey:@"AppleLanguages"];)
还有其他明智的方法吗?
For now i have chose this method
[[NSUserDefaults standardUserDefaults] setObject: [NSArray arrayWithObjects:@"en", nil] forKey:@"AppleLanguages"];
)Is there any other sane way?