viezel / NappAppearance

Use the power of iOS UIAppearance on Titanium UI components
Other
69 stars 20 forks source link

switch bar onImage and offImage not working #12

Open darkhorse2013 opened 10 years ago

darkhorse2013 commented 10 years ago

NappAppearance.setGlobalStyling({

switchBar : {
    onTintColor : "#CD1625",
    tintColor : "#ececec",
    thumbTintColor : "#aaaaaa",
    onImage : "/images/switch_on.png",
    offImage : "/images/switch_off.png"
}

});

onImage and offImage do not work. The other properties work fine.

I have stored my images inside assets >images and referenced the image as above.

I am using titanium alloy and SDK 3.2.3

Thanks