Swift : How to set placeholder text to UITextview and UITextfield.

Channel Avatar
Comment
X
Share
Swift : How to set placeholder text to UITextview and UITextfield.
Swift : How to set placeholder text to UITextview and UITextfield.
Swift : Do not worry ! You can set the placeholder text to UITextview too.

And you can change the default Color of Placeholder Text.

Either from Interface builder
OR

txtName .setValue(UIColor.redColor(), forKeyPath: /”_placeholderLabel.textColor/”)

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Keywords: ios, iphone, ipad, ipod, UITextfield, UITextview, color, uicolor, Placeholder, text

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *