请将此解决,谢谢。
SCENARIO:在SDK-7中点击按钮,我可以用它的委托方法打开MFMailComposerVC,一切正常。但是当我将模拟器更改为6.1 / 6.0时,它会在按钮单击时崩溃。
错误日志:
*** Assertion failure in NSDictionary *_UIRecordArgumentOfInvocationAtIndex(NSInvocation *, NSUInteger, BOOL)(), /SourceCache/UIKit/UIKit-2380.17/UIAppearance.m:1118
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unknown key, "NSColor" in title text attributes dictionary'
解决方案:我发现并实现了以下链接的解决方案,并且做了一些实验性代码,但总是崩溃, MFMailComposeViewController Crashes because of Global Appearance Properties on iOS6