iOS Monotouch UIImagePickerController multiple photos / videos from camera

∥☆過路亽.° 提交于 2019-12-01 09:12:49
Kento

I had this same problem.

The post here is not marked as the answer but it did solve it for me: https://stackoverflow.com/a/20035698/2514318

I'm guessing this is a bug w/ MonoTouch when using the FinishedPickingMedia event. I have read that there are leaks with using UIImagePickerController (regardless of using obj c or Mono) so I prefer to keep the instance around and re-use it. If you do re-create it each time, I would recommend disposing the previous instance.

Can anyone from Xamarin weigh in on if this is a bug or not?

This post helped me a lot, so I decided to make a very simples sample and post on github for anyone that may need it: https://github.com/GiusepeCasagrande/XamarinSimpleCameraSample

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!