title: How to check if the user gave permission to use the camera?
body: <p>Trying to write this:</p>
  
  <pre><code>if usergavepermissiontousercamera  
    opencamera
  else 
    showmycustompermissionview
  </code></pre>
  
  <p>Couldn't find a current way to do this simple task.<br>
  Note: Should also work iOS7 even if it requires a different method</p>