2013-08-05 49 views

回答

0

我不相信你可以改變代碼,模擬器的設置,但可以很明顯的啓動/停止位置更新的自己的應用程序的檢查:

在代碼中啓動位置更新:

[CLLocationManager startUpdatingLocation]

停止位置更新代碼:

[CLLocationManager stopUpdatingLocation]

0

通過啓用

[CLLocationManager locationServicesEnabled]