Pixate / pixate-freestyle-ios

Pixate Freestyle for iOS
Apache License 2.0
849 stars 134 forks source link

tint color/color is not working for icon of button #137

Open plandem opened 10 years ago

plandem commented 10 years ago

That's working UIButton *button_update = [UIButton buttonWithType:UIButtonTypeCustom]; [button_update setBackgroundColor: [UIColor blackColor]]; [button_update setTintColor:[UIColor whiteColor]]; [button_update setImage:iconUpdate forState:UIControlStateNormal];

And i can't replace it with: UIButton *button_update = [UIButton buttonWithType:UIButtonTypeCustom]; button_update.styleClass = @"update";

table-view button.update icon, table-view button.delete icon{ @extend .icon; background-color: $black; ios-tint-color: $white; color: $white; }

table-view button.update icon { @extend .icon-update; }

because tink is not working here :(