Create textField and textView with required asterisk symbol using materialdesign iOS swift

 Solution:

You cannot be able to set asterisk symbol in the textfield.instead of you can append in end of the placeholder text to achieve that.


            field.label.text = placeholder.appending("*")

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift