Navigation bar background animates from CGRectZero to its proper size when the barTintColor is nil.
| Originator: | cuva | ||
| Number: | rdar://27367299 | Date Originated: | 15-Jul-2016 04:52 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.3 |
| Classification: | UI/Usability | Reproducible: | Always |
When animating the barTintColor of UINavigationBar from nil to a non-nil value, the animation starts from CGRectZero instead of beginning from its actual size. Steps: 1. Open sample project. 2. Click on the button that animates the navigation bar colour. 3. See the unexpected navigation bar transition. Expected Results: It should transition smoothly from transparent to a solid colour, just like it does between two colours. Actual Results: The colour animates in but the size of the navigation bar is initially CGSizeZero resulting in a weird animation instead of a smooth crossfade.
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!