[AC-1995] Can't change a button background image using setBackgroundImage() dynamically when the button is on the navbar.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2013-04-01T21:15:04.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Titanium SDK & CLI |
| Labels | button, ios, ios6 |
| Reporter | Ygor Lemos |
| Assignee | Daniel Sefton |
| Created | 2012-10-15T20:37:56.000+0000 |
| Updated | 2016-03-08T07:40:56.000+0000 |
Description
Steps to reproduce:
Create a window with a navbar.
create a button with a background image.
add a button.setBackgroundImage() to another image on button click.
add the button to the navbar with win.setLeftNavButton(button)
Expected:
the button background image should've changed.
What happens:
The button bg image does not change (although the property has changed on the object)
When I change from a button to a regular view, the backgroundImage changes normally.
Closing as incomplete. Please provide code to reproduce. Something that can be copied and pasted into app.js and ran