UITextField Swift Show error

0

I have the following UITextField

@IBOutlet weak var txtIdentificationCard: UITextField!

What I would like is to be able to show an error when validating the fields, not only mark and change color but also be able to put a text below

Currently I am using another class which allows me to do a floating holder, which restricts me the solutions ah not to use another type of class to solve this, suggestions?

I thought I could add a Label manually programmatically and put it out of the text box, although it sounds nice I'm quite new in swift and I would not know if it could or could not, thank you already

    
asked by Bruno Sosa Fast Tag 09.05.2018 в 22:40
source

0 answers