开发者

Getting location and acceleration information

开发者 https://www.devze.com 2023-02-11 16:06 出处:网络
I am developing an iPhone App in which I have to get the acceleration and deceleration with which user is moving. Actually this App will work as a chronometer. How can I get the latitude and longitude

I am developing an iPhone App in which I have to get the acceleration and deceleration with which user is moving. Actually this App will work as a chronometer. How can I get the latitude and longitude anh how can I calculate the accelerati开发者_StackOverflow社区on and deceleration. Any sample code or information link will be better. Thanks


Have a look at MapKit for Location.

Also UIAccelerometer for movement

Edit

Have a look at Core Location which lets you do things with headings and speeds using your location.

0

精彩评论

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