但也逐渐众所周知,iOS15 iOS16 都存在两个接口,其中 isSimulatedBySoftware 可以判断爱思软件改的虚拟定位,isProducedByAccessory 可以判断尾插 GPS 。 [ isSimulatedBySoftware ] Core Location sets isSimulatedBySoftware to true if the system generated the location using on-device software simulation. You can simulate locations by loading GPX files using the Xcode debugger. The default value is false.
[ isProducedByAccessory ] Core Location sets isProducedByAccessory to true if the system retrieved the location from an external accessory attached to the device, such as a Made for iPhone GPS dongle or CarPlay. Otherwise, the default value is false.