Input errors - iOS
On iOS, we recommend using an UILabel
to indicate an error. The error message should also be posted to assistive technologies by using an accessibility announcement
.
You could also use a third party library to display instructions. Unfortunately, accessibility is often not considered in the implementations.
errorLabel.isHidden = false
errorLabel.text = "Invalid date, must be in the form DD/MM/YYYY, for example, 01/01/2000"