How to change placeholder text color in xib?

后端 未结 4 584
轮回少年
轮回少年 2021-02-02 12:13

How to change placeholder text color in xib ? I have tried key path thing but it is giving me NSException. Can anyone please help.

4条回答
  •  渐次进展
    2021-02-02 12:47

    use placeholderLabel.textColor instead of _placeholderLabel.textColor for swift 5.0 and iOS 13

提交回复
热议问题