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

store cgpoint in userdefaults iOS swift