title: UIImagePickerController give black screen in accessing PhotoLibrary
body: <p>I am just accessing the PhotoLibrary not even the camera. It gives a black screen like <a href="http://www.screencast.com/t/SHP1eUrnk1f" rel="nofollow noreferrer">this</a>.</p>
  <p>Here is the code:</p>
  <pre><code>@IBAction func selectProfileImageBtnTapped(sender: UIButton) {
      
      let myImagePicker = UIImagePickerController()
      
      myImagePicker.allowsEditing = false
      myImagePicker.sourceType = .PhotoLibrary
      
      presentViewController(myImagePicker, animated: true, completion: nil)
      
  }
  </code></pre>
  <p>How to solve this?</p>