LoginSignup
0
0

More than 5 years have passed since last update.

UIImagePickerControllerで編集した画像を取得できないとき

Posted at

func imagePickerController(picker: UIImagePickerController, didFinishPickingImage image: UIImage, editingInfo: [String : AnyObject]?) {
  let image = editingInfo![UIImagePickerControllerEditedImage] as! UIImage
}

ではうまくいかないので


func imagePickerController(picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : AnyObject]) {
  let image = info[UIImagePickerControllerEditedImage] as! UIImage
}

を使いましょう。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0