2013-08-05 14 views

回答

0

我不相信你可以改变代码,模拟器的设置,但可以很明显的启动/停止位置更新的自己的应用程序的检查:

在代码中启动位置更新:

[CLLocationManager startUpdatingLocation]

停止位置更新代码:

[CLLocationManager stopUpdatingLocation]

0

通过启用

[CLLocationManager locationServicesEnabled]