【发布时间】:2017-10-10 14:11:27
【问题描述】:
我正在处理企业 iOS 应用程序的一些崩溃日志。我的用户经常遇到以下崩溃。
主要 *** 由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:“应用程序试图呈现一个 目标上的 nil 模态视图控制器 UIApplicationRotationFollowingController:0x100c75280。 AppDelegate.swift,第 13 行
在没有首先检查设备是否配置了电子邮件的情况下呈现此 MFMailComposeViewController 时,有很多关于这种情况的报告。这在我的应用程序中不是。
有谁知道在什么情况下会发生这种情况?
【问题讨论】:
-
我们在 CrashAnalytics 中得到
Application tried to present modally an active controller <UIApplicationRotationFollowingController: 0x101621120>. -[EventsViewController pushDetailViewController]