Crash when setting translucent=NO on UINavigationBar appearance

Originator:magnus
Number:rdar://14855264 Date Originated:20130828
Status:Open Resolved:
Product:iOS SDK Product Version:7.0
Classification:Crash Reproducible:YES
 
28-Aug-2013 01:45 PM Magnus Ottosson:
Summary:
When setting the translucent property to NO on UINavigationBar the app crashes.

Steps to Reproduce:

[[UINavigationBar appearance] setTranslucent:NO];

Expected Results:

No Crash

Actual Results:

Crash

Regression:

Notes:
2013-08-28 13:39:23.636 TheRock[8209:80b] CRASH: *** Illegal property type, c for appearance setter, _installAppearanceSwizzlesForSetter:
2013-08-28 13:39:23.638 TheRock[8209:80b] Stack Trace: (
	0   CoreFoundation                      0x02dca6f4 __exceptionPreprocess + 180
	1   libobjc.A.dylib                     0x025cd8b6 objc_exception_throw + 44
	2   CoreFoundation                      0x02dca4cb +[NSException raise:format:] + 139
	3   UIKit                               0x00fd18c1 +[NSObject(UIAppearanceAdditions) _installAppearanceSwizzlesForSetter:] + 485
	4   UIKit                               0x00fd4ac8 -[_UIAppearance forwardInvocation:] + 939
	5   CoreFoundation                      0x02dba7ea ___forwarding___ + 458
	6   CoreFoundation                      0x02dba5fe _CF_forwarding_prep_0 + 14
	7   TheRock                             0x0000534d -[AppDelegate application:didFinishLaunchingWithOptions:] + 477
	8   UIKit                               0x00aa3525 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 309
	9   UIKit                               0x00aa3d65 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1536
	10  UIKit                               0x00aa8578 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 824
	11  UIKit                               0x00abc57c -[UIApplication handleEvent:withNewEvent:] + 3447
	12  UIKit                               0x00abcae9 -[UIApplication sendEvent:] + 85
	13  UIKit                               0x00aaa1f5 _UIApplicationHandleEvent + 736
	14  GraphicsServices                    0x03afa33b _PurpleEventCallback + 776
	15  GraphicsServices                    0x03af9e46 PurpleEventCallback + 46
	16  CoreFoundation                      0x02d45e95 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 53
	17  CoreFoundation                      0x02d45bcb __CFRunLoopDoSource1 + 523
	18  CoreFoundation                      0x02d708ac __CFRunLoopRun + 2156
	19  CoreFoundation                      0x02d6fbf3 CFRunLoopRunSpecific + 467
	20  CoreFoundation                      0x02d6fa0b CFRunLoopRunInMode + 123
	21  UIKit                               0x00aa7cad -[UIApplication _run] + 840
	22  UIKit                               0x00aa9f0b UIApplicationMain + 1225
	23  TheRock                             0x0000513d main + 141
	24  libdyld.dylib                       0x046da70d start + 1
)

28-Aug-2013 01:45 PM Magnus Ottosson:
'crashlog.txt' was successfully uploaded

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!