Issue
I would like to explain the situation that I am facing. By default iPhone simulator's current location is "loop". I have an application that is being using in south Africa ( for example ). If I test "near me" functionality on simulator. It will show nothing. Similarly If I want to test my application on real device, It will not work for me as I am situated in India. What I have to do is "set current location on simulator". Blackberry simulator & Android simulator/emulator provides - set current location for testing on emulator.
What do you do to come out over this situation ?
Solution
On iOS5 Simulator by default you it will show some location in USA. If you want to change that location, in iOS Simulator menu, go to Debug -> Location -> Custom Location. There you can set the latitude and longitude and test the app accordingly. This works with mapkit and also with CLLocationManager.
Answered By - Mani
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.