【发布时间】:2015-11-25 14:44:30
【问题描述】:
*** 由于未捕获的异常“NSGenericException”而终止应用程序,原因:“UIPopoverPresentationController (<_uialertcontrolleractionsheetregularpresentationcontroller:>) 应该在演示发生之前设置非零的 sourceView 或 barButtonItem。”
【问题讨论】:
-
请在您展示弹出框控制器的位置显示代码。
-
是不是因为我在 iPad Simulator 中运行?
标签: ios swift crash uipopovercontroller