[TIMOB-17866] iOS 7.0.3: Translucency in navigation bar no longer works.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | hardware, ios, navbar, simulator, translucent |
Reporter | Ed |
Assignee | Unknown |
Created | 2013-10-25T15:06:13.000+0000 |
Updated | 2018-02-28T20:03:14.000+0000 |
Description
After installing the latest iOS 7.0.3 update on the iPhone, { translucent:true } on navigation bars no longer works when running the app on the device. However, it works on the Simulator.
Q&A: http://developer.appcelerator.com/question/158740/ios-703-and-translucent-navigation-bar
Attachments
File | Date | Size |
---|---|---|
with_barColor.png | 2014-10-15T15:45:53.000+0000 | 42452 |
without_barColor.png | 2014-10-15T15:45:53.000+0000 | 45874 |
Hello Ed, This is fixed in Q&A. Thanks
This ticket should not have been closed. Setting the alpha does not seem to work in my tests. Besides, if that is the new way we are directing developers to achieve this effect, our documentation does not reflect this. At minimum, this should have been turned into a docs ticket. But really, this is an SDK issue.
See the attached screens. With a Window in a NavigationWindow, Ti.UI.backgroundColor="#ffffff" in alloy.js, and the following TSS, I get a gray translucent bar. Setting barColor to "#ffffff" makes the bar opaque. From the linked Q&A ticket, setting barColor to "#72ffffff" (or any other alpha) makes no difference -- I get an opaque bar.
If this is not an SDK bug, it is a documentation bug. The methods described there and in this Q&A thread offer no valid information on how to get a non-dark gray translucent bar. Tested with iOS8 simulator, Xcode 6, Ti SDK 3.4.0.GA