开发者

What is the default latitude & longitude on iPhone?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜