我正在使用自定义 AlertView MZFromSheetController , 但它给了我以下异常
*** Assertion failure in -[MZFormSheetController presentAnimated:completionHandler:], /Users/dt4it/Documents/SucessQuotes11/SucessQuotes/MZFormSheetController.m:418
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Attempting to begin a form sheet transition from to while a transition is already in progress. Wait for didPresentCompletionHandler/didDismissCompletionHandler to know the current transition has completed'
谁能告诉我如何解决这个问题?
最佳答案
确保您没有多次调用演示方法,我刚遇到这个问题,发现代码被调用了 4 次。将它减少到 1(应该是)修复了断言失败异常。
关于ios - MZFormSheetController 断言失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24863570/