In case you want to change text color of a Button, while text-transform has been set to uppercase or lowercase, the color of the text would not be applied. This issue is reproducible only for iOS. I am attaching sample code:
main-page.xml
<Page xmlns="http://schemas.nativescript.org/tns.xsd">
<StackLayout>
<Label text="labelLabel" style="text-transform: uppercase; color:red;"/>
<Button text="buttonButton" style=" color:red; text-transform: uppercase; " />
<TextField text="textField" style="text-transform: uppercase; color:red;"/>
<TextView text="textView" style="text-transform: uppercase; color:red;" />
</StackLayout>
</Page>
tns-core-modules:2.2.0
tns-ios:2.2.1
CLI: 2.2.1
In case you want to change text
colorof aButton, whiletext-transformhas been set to uppercase or lowercase, the color of the text would not be applied. This issue is reproducible only for iOS. I am attaching sample code:main-page.xml
tns-core-modules:2.2.0
tns-ios:2.2.1
CLI: 2.2.1