How to reset Iphone Simulator

Nơi chia sẻ thảo luận các vấn đề liên quan đến kiểm thử trên Iphone, Ipad
Forum rules
Nơi chia sẻ thảo luận các vấn đề liên quan đến kiểm thử trên các loại thiết bị sử dụng hệ điều hành IOS
Post Reply
tvn
Admin
Posts: 4900
Joined: Tue 10 Aug, 2010 10:11 am
Location: HCM
Contact:

How to reset Iphone Simulator

Post by tvn »

My app uses the location service. To test what is happening when the user presses 'Don't allow' when the simulator asks for the permission to access the location service (when the app is started for the first time) I need to reset the simulator. This because the question was answered at the beginning of the development process with allow. So no more questions are asked.

Reseting the Simulator with "Reseting Content and Settings.." don't bring back the question at the start. What I am doing wrong?



tvn
Admin
Posts: 4900
Joined: Tue 10 Aug, 2010 10:11 am
Location: HCM
Contact:

Re: How to reset Iphone Simulator

Post by tvn »

I thought this was a very good question as I couldn't remember the last time the simulator asked me to allow access to my current location.

I just installed two of the sample apps from Apple that use the CoreLocation framework, I have never used either of them before. I installed them both on the simulator and I never got asked for permission to use my current location at all.

I tried it with SDK v3 and v3.1.2

Nguồn: http://stackoverflow.com



Post Reply

Return to “Iphone”