Core Location in iPhone Simulator 3.2 (iPad)

后端 未结 3 1971
囚心锁ツ
囚心锁ツ 2020-12-18 04:20

So,

i\'m trying to port my app to iPad. I\'m using CoreLocation.

Apple says the iPad does have

Location:
Wi-Fi
Digital compass
Assisted GPS (         


        
相关标签:
3条回答
  • 2020-12-18 04:42

    According to the iPhone Development Guide, the location in the simulator is fixed. Sorry!

    0 讨论(0)
  • 2020-12-18 05:00

    You might also wanna check out my FTLocationSimulator.

    It reads a KML file generated by Google Earth to provide continuous location updates. It also updates the blue userLocation dot in a MKMapView with the simulated location updates.

    0 讨论(0)
  • 2020-12-18 05:05

    Yes, see this question which has several good answers to this.

    EDIT - I eventually decided to write my own CLLocationManager simulator for testing on the iPhone simulator. It's located on github here if you want to use it.

    0 讨论(0)
提交回复
热议问题