https://docs.coronalabs.com/daily/api/type/TextField/setTextColor.html
I used native.newTextField() in CoronaCards iOS.
setTextColor doesn’t work.
If I use it, text doesn’t show.
My code is…
local snTxt = native.newTextField( 0, 0, 230, 40 )
snTxt.inputType = “UIKeyboardTypeASCIICapable”
snTxt.isFontSizeScaled = true
snTxt.hasBackground = false
snTxt.text = “0123456”
snTxt:setTextColor(1, 0, 0, 1)
Version is CoronaCards 2016.2908.