开发者

What is the default latitude & longitude on iPhone?

开发者 https://www.devze.com 2023-01-22 23:13 出处:网络
I 开发者_运维知识库want these double values to seed/pre-populate an sqlite file. Thanks! MattAccording to this post, I think it\'s that of Apple\'s Corporate Headquarters: (37.332, -122.031). Can anyo

I 开发者_运维知识库want these double values to seed/pre-populate an sqlite file. Thanks! Matt


According to this post, I think it's that of Apple's Corporate Headquarters: (37.332, -122.031). Can anyone back me up on this?


On the simulator, you are correct. But in the real world, the initial position will be the first waypoint Location Services will give you that suffice the conditions you specified. If it cannot find such a location, it will not give you a location at all. Depending on your project, I would seed with a center location in the country where you will distribute your app first, or your office...

0

精彩评论

暂无评论...
验证码 换一张
取 消