Meaning of Warning “while a presentation is in progress!”

前端 未结 8 889
旧时难觅i
旧时难觅i 2020-11-29 19:29

When I am integarting the Instagram in my project. I am getting a image from UIImagePickerController and after it i want to send i

8条回答
  •  萌比男神i
    2020-11-29 19:46

    As it was said before, this means that you are trying to present 2 modal windows or popovers at the same time. But in my case I haven't seen any modal window or popover when I getting this message.

    The reason for the error in my case was following. When I called the popover to show up for the very first time, it was another error which prevent popover to show but it somehow continue to be in "presented" state. All following attempts to show popover failed with runtime error "while a presentation is in progress!”.

    So, if you run into the same situation, look through the log and try find very first error starting with *** WebKit discarded an uncaught exception in the....

    Hope it will save somebody's time.

提交回复
热议问题