Set the location in iPhone Simulator
问题 How can I set the location (as it\'s picked up in CoreLocation services) in the iPhone Simulator? 回答1: As of iOS 5, the simulator has a configurable location. Under the Debug menu, the last entry is "Location"; this gives you a sub menu with: None Custom Location Apple Stores Apple City Bicycle Ride City Run Freeway Drive Custom Location lets you enter a Lat/Long value. Bicycle ride, City Run, and Freeway Drive are simulation of a moving location (in Cupertino, of course). Of course, this