Quantcast
Channel: Disable location service in iPhone simulator? - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by PaulB for Disable location service in iPhone simulator?

You can disable the location services in the simulator;Run your app through xcode so the simulator opensStop the app via xcode (this should leave the simulator open)Open the Settings app in the...

View Article


Answer by Vladimir for Disable location service in iPhone simulator?

As a workaround you can try to simulate update location failure by constructing NSError object with appropriate values and calling corresponding CLLocationManager delegate didFailWithError: method...

View Article

Answer by MLefrancois for Disable location service in iPhone simulator?

To my knowledge, you can't disable the location service on the simulator. The approach that I normally use when using the location service is to build a simple wrapper class arround NSLocation tailored...

View Article

Answer by erastusnjuki for Disable location service in iPhone simulator?

**Disregard this. This works around the MapKit. Check comments below.Disconnect the computer from internet connection. How to.EDIT: You can test the code from this site that can be downloaded hereWith...

View Article

Disable location service in iPhone simulator?

I'd like to test what happens if my app can't get the location coordinates. Is it possible to disable the location service in the simulator, like on an iPod Touch with WiFI turned off?I still don't...

View Article

Browsing all 5 articles
Browse latest View live




<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>