应用程序崩溃原因断言失败无效PushNextClassForSettingIMP(id,SEL)()in> = iOS 9.3.1

时间:2016-05-18 12:06:01

标签: ios objective-c iphone xcode crash

当我们将backgroundColor或font设置为UILabel时,应用程序崩溃的原因如下 以下是崩溃日志

*** Assertion failure in void PushNextClassForSettingIMP(id, SEL)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3505.16/UIAppearance.m:757
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Please file a radar on UIKit if you see this assertion.'

这开始在iOS 9.3.1中发生

以下行崩溃。

[self setBackgroundColor:[UIColor whiteColor]];

请查看随附的崩溃屏幕截图Crash Log

下面是崩溃截图 Crash

0 个答案:

没有答案