iOS:|iOS: Warning: Attempt to presenton while a presentation is in progress

【iOS:|iOS: Warning: Attempt to presenton while a presentation is in progress】the issue is happening because, you are first dismissing the UIImagePicker and immediately you are displaying another view as modal view. That's why you are getting this error.
出现这个问题的主要原因是: 以 model的方式dismiss 一个view,马上就以model方式展现另一个view

    推荐阅读