title: How to identify iPhone SHAKE in Swift?
body: <p>Hi I want to identify the iPhone SHAKE when user shakes their phone, either in background mode or in foreground mode of the app.</p>
  
  <p>Please assist me. 
  Thanks in advance.</p>