Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14912] iOS7: Cannot set backgroundColor for buttonBar

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNot Our Bug
Resolution Date2013-08-27T05:04:01.000+0000
Affected Version/sRelease 3.1.1, Release 3.1.2
Fix Version/s2013 Sprint 18, 2013 Sprint 18 API
ComponentsiOS
Labelsios7
ReporterJoe Falcone
AssigneeIngo Muschenetz
Created2013-08-17T17:52:54.000+0000
Updated2017-03-31T20:32:34.000+0000

Description

Setting either backgroundColor or color for a buttonBar on iOS7 changes only the text and border color. The backgroundColor remains "transparent" regardless. See screenshot. Tested up to iOS7 preview 5. Example can be found in Kitchen Sink buttonBar demo code - where backgroundColor is set for each buttonBar, but the text and border takes the backgroundColor. The buttonBars are all transparent.

Attachments

FileDateSize
Screen Shot 2013-08-17 at 10.51.04 AM.png2013-08-17T17:52:54.000+000060590

Comments

  1. Eric Merriman 2013-08-23

    Verified occurs with kitchensink master 23 AUG 2013, SDK 3.1.3.v20130822140128 Used Xcode 5 DP6 and iPad 4 running iOS 7 beta 6.
  2. Vishal Duggal 2013-08-27

    Apple changed the behavior of the underlying API call while providing no alternate API for the old behavior. Can't fix this. Marking as "NOT OUR BUG"
  3. Joe Falcone 2013-08-27

    The iOS7 transition guide mentions a "translucent" property - will this property be made available through the Ti.UI interface? By default, the translucent property is YES so if we just have access to it, we can turn if off.
  4. Joe Falcone 2013-08-27

    I just tested this with the latest continuous build 3.2 SDK and the translucent property doesn't seem to be supported. A workaround is to set the backgroundImage property.
  5. Lee Morris 2017-03-31

    Closing ticket as this issue is not our bug.

JSON Source