iPhone能否确定你是面向北,南,东还是西? [英] Can the iPhone determine if you're facing north, south, east or west?

查看:123
本文介绍了iPhone能否确定你是面向北,南,东还是西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

iPhone能否判断您是面向北,南,东还是西?

Can the iPhone determine if you're facing north, south, east or west?

推荐答案

对于2.2你可能想看看下面添加到CoreLocation:

If you're developing for 2.2 you might want to take a look at the following additions to CoreLocation:

CLLocation.course

CLLocation.course

CLLocation .speed

CLLocation.speed

CLLocationDirection

CLLocationDirection

CLLocationSpeed

CLLocationSpeed

CLLocation .course将给你的标题,将允许你确定北/南/东/西。

CLLocation.course will give you heading which will allow you to determine north/south/east/west.

这篇关于iPhone能否确定你是面向北,南,东还是西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆