Reputation: 3
I have a requirement for a textfield as shown in the screenshot below. I need to have a placeholder as a "$" symbol that won't disappear when I hit the textfield. Please help me achieve it.
Upvotes: 0
Views: 332
Reputation: 1375
Just add a UILabel
to the left of your UITextField
and set its text to be "$"
. Otherwise, if you have a custom dollar sign you need, I would use a UIImageView
and set its image to be the image of your dollar sign.
Upvotes: 1