How to change placeholder text color in xib ? I have tried key path thing but it is giving me NSException. Can anyone please help.
The easiest method to modify the placeholder text color is through the Xcode storyboard interface builder. Select the UITextField of interest and open the identity inspector on the right. Click on the plus symbol in the User Defined Runtime Attributes and add a new row with Key Path as placeholderLabel.textColor
, Type as Color and Value to your desired color.