iOS detect mock locations

前端 未结 4 2140
悲哀的现实
悲哀的现实 2021-01-02 08:22

Currently I\'m working on an App which geolocation capabilities are its most important feature. Actually we\'re very concerned about getting GPS values mocked up. I\'ve read

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-02 09:04

    I don't believe it's possible to detect location simulators.

    An easier way to fake location is to use an external bluetooth or serial connection to a GPS simulator that outputs NMEA sentences. You don't need a developer account although you do need an Android phone to run the simulator.

    The iPhone will auto detect an external GPS and CLLocationManager will use the external GPS sources in place of own internal GPS. It's really handy for lab testing of mapping and navigation apps.

提交回复
热议问题