title: Invoking and controlling vibration using Swift and iOS8
body: <p>How can I invoke vibration using Swift and control its duration? Also what other parameters can be defined? I would like to invoke a very short vibration using Swift.</p>
  
  <p>I tried the following function:</p>
  
  <pre><code>func () {
    AudioServicesPlaySystemSound(kSystemSoundID_Vibrate)
  }
  </code></pre>
  
  <p>but I get this error:</p>
  
  <pre><code>'Int' is not convertible to 'SystemSoundID'
  </code></pre>