Find current country from iPhone device

前端 未结 9 1036
醉话见心
醉话见心 2020-12-04 08:38

I have to get the current country in the iPhone settings. Can anyone tell me how to get the current country in iPhone application.

I have to use the current country

9条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 09:03

    If you're testing and want to use a different language from your system, it's easiest to change your scheme's Application Language and Application Region options instead of changing the language and region on your device or simulator.

    Go to Product->Scheme->Edit Scheme...->Run->Options and choose the Application Language and Application Region you want to test.

    From the iOS Documentation: Testing Your Internationalized App

提交回复
热议问题