UIImagePickerController didFinishPickingMediaWithInfo not being called when cameraOverlyView property is assigned

别等时光非礼了梦想. 提交于 2019-12-04 18:37:56

Here's what finally worked: set userInteractionEnabled to FALSE for the overlay view.

I wish I knew whether this was a bug or a feature. I looked at a few tutorials for creating overlay views, and none mentioned setting this property. If anyone can fully explain why this made the difference, I'd like to mark a more complete answer than this.

@sunny finally correct solution! userInteractionEnabled = FALSE did call didFinishPickingMediaWithInfo

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