I am NOT talking about the simulator. I was wondering if I could simulate a shake on my actual iphone (by plugging it into computer and connected to xcode).

Is there a way to do this?

  • Given the answer by Edward, are you seeking the Shake gesture or making the phone vibrate? I assumed shake gesture until I read him telling how to make it vibrate. – Tyson Aug 25 '14 at 0:55
  • Open System Preferences
  • Go to General > Accessibility > Assistive Touch
  • Turn assistive touch on
  • Then, an icon that looks like:

assistive touch

Will pop up somewhere on you screen. Tap it. Then:

  • Tap device
  • Tap more
  • and finally tap shake

Hope that helps!


There are two ways:

  • Search the App Store to see if there are any apps that do this (see Google Search)
  • Write an App that does it (see StackOverflow)
  • In my opinion, this is not a very good answer and is not particularly helpful. – Chris Mukherjee Aug 25 '14 at 18:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .