Dark shadow on UITabBar after setting backgroundImage to nil from a non-nil value

Originator:nonamelive
Number:rdar://15543827 Date Originated:Nov 24, 2013
Status:Open Resolved:
Product:iOS SDK Product Version:7.0/11B554a
Classification:UI/Usability Reproducible:Always
 
Summary:
There is a dark blurry shadow under UITabBar items after setting UITabBar's backgroundImage to nil from a non-nil value (previously set to an UIImage).

As far as I can see, there are two UIImageViews in a UITabBar, but after setting UITabBar's backgroundImage to nil, only one UIImageView.image is set to nil. This is probably the problem here.

Steps to Reproduce:
1. Set an UIImage to UITabBar backgroundImage.
2. Set nil to UITabBar backgroundImage.

Expected Results:
The UITabBar should look like the default style.

Actual Results:
There's a dark shadow under the UITabBar items.

Version:
iOS 7/11B554a

Notes:


Configuration:
iOS 7.0 - 7.0.4, Xcode 5.0.1

Attachments:
'TabBarBackgroundBugDemo.zip' 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!