go-ios
go-ios copied to clipboard
feat: Simulate location for iOS17
Why?
The current setlocation only works for iOS below 17, the iOS 17 introduces a new instrumentation service com.apple.instruments.dtservicehub with the channel id com.apple.instruments.server.services.LocationSimulation for the simulated location.
How?
By using DTX make a channel call:
imulateLocationWithLatitude:longitude:with args to start the location simulationstopLocationSimulationto stop and clear the location simulation & data The response payloads for both methods are<nil>