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

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift