-1

当我的应用程序随机崩溃时,我在控制台中收到以下报告。它似乎发生在应用程序的不同屏幕上,但我在下面添加了一个示例。我不太确定从哪里开始解决此问题,因此您可以提供的任何帮助或建议都会很棒!谢谢 :-)

Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay:                 Disabling autoplay for pause
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Disabling autoplay
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Enabling autoplay
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Likely to keep up or full buffer: 0
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Skipping autoplay, not enough buffered to keep up.
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Skipping autoplay, disabled (for current item: 1, on player: 0)
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Enabling autoplay
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Likely to keep up or full buffer: 0
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Skipping autoplay, not enough buffered to keep up.
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Enabling autoplay
Dec  1 10:27:41 Olivias-iPad Moonshine2[4171] <Warning>: [MPCloudAssetDownloadController] Prioritization requested for media item ID: 0
Dec  1 10:27:42 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Enabling autoplay
Dec  1 10:27:42 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Likely to keep up or full buffer: 1
Dec  1 10:27:42 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Enabling autoplay
Dec  1 10:27:42 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: _streamLikelyToKeepUp: 0 -> 1
Dec  1 10:27:42 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Enabling autoplay
Dec  1 10:27:42 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Enabling autoplay
Dec  1 10:27:42 Olivias-iPad Moonshine2[4171] <Warning>: [MPAVController] Autoplay: Enabling autoplay
Dec  1 10:27:42 Olivias-iPad Moonshine2[4171] <Warning>: This is my variable Moonshine
Dec  1 10:27:42 Olivias-iPad Moonshine2[4171] <Warning>: i'm moon
Dec  1 10:27:42 Olivias-iPad UserEventAgent[13] <Notice>: jetsam: kernel termination snapshot being created
Dec  1 10:27:42 Olivias-iPad com.apple.launchd[1] (UIKitApplication:com.apple.mobilemail[0x55e7][4132]) <Notice>: (UIKitApplication:com.apple.mobilemail[0x55e7]) Exited: Killed: 9
Dec  1 10:27:42 Olivias-iPad com.apple.launchd[1] (UIKitApplication:com.apple.mobilephone[0xccd5][4130]) <Notice>: (UIKitApplication:com.apple.mobilephone[0xccd5]) Exited: Killed: 9
Dec  1 10:27:42 Olivias-iPad com.apple.launchd[1] (com.apple.tccd[4133]) <Notice>: (com.apple.tccd) Exited: Killed: 9
Dec  1 10:27:42 Olivias-iPad com.apple.launchd[1] (com.apple.TextInput.kbd[4144]) <Notice>: (com.apple.TextInput.kbd) Exited: Killed: 9
Dec  1 10:27:42 Olivias-iPad com.apple.launchd[1] (UIKitApplication:com.yourcompany.Moonshine2[0x74c9][4171]) <Notice>: (UIKitApplication:com.yourcompany.Moonshine2[0x74c9]) Exited: Killed: 9
Dec  1 10:27:42 Olivias-iPad backboardd[690] <Warning>: Application 'UIKitApplication:com.apple.mobilemail[0x55e7]' exited abnormally with signal 9: Killed: 9
Dec  1 10:27:42 Olivias-iPad backboardd[690] <Warning>: Application 'UIKitApplication:com.apple.mobilephone[0xccd5]' exited abnormally with signal 9: Killed: 9
Dec  1 10:27:42 Olivias-iPad backboardd[690] <Warning>: Application 'UIKitApplication:com.yourcompany.Moonshine2[0x74c9]' exited abnormally with signal 9: Killed: 9
Dec  1 10:27:43 Olivias-iPad kernel[0] <Debug>: launchd[4176] Builtin profile: MobileMail (sandbox)
Dec  1 10:27:44 Olivias-iPad ReportCrash[4175] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Dec  1 10:27:44 Olivias-iPad ReportCrash[4175] <Notice>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2012-12-01-102744.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
Dec  1 10:27:48 Olivias-iPad kernel[0] <Debug>: launchd[4182] Builtin profile: syncdefaultsd (sandbox)
4

1 回答 1

0

根据您的评论,可能 thirdViewController 实际上没有正确保留,但它保留在内存中,不会被窗口保留(或者从您使用窗口的方式来看)。

此外,按照您使用它的方式,使用为此目的构建的健壮对象(如 UITabController)可能会更好。可以在不显示任何地方的情况下使用它,并且您可以以编程方式换出视图控制器。如果这不合适,那么 UINavigationController 肯定会。没有必要重新发明轮子。干杯。

于 2012-12-02T03:11:48.560 回答