How to refresh Safari in iOS Simulator with your keyboard

If you do any kind of mobile web development, chances are you use the iOS Simulator quite a bit. Since iOS 7 was released, refreshing your web page in the simulator has become quite cumbersome. You have to click the title bar, and then click the refresh button. Whose has time for 2 clicks? I certainly don’t, and unfortunately Apple hasn’t provided a keyboard shortcut. I have discovered a way around this.

  1. Setup Desktop Safari to debug your simulator as described in the Apple Docs
  2. Launch the simulator
  3. Connect Desktop Safari to the simulator via the Develop menu
  4. Command-R from within the dev tools to refresh all the things