Input instructions - 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.
helpLabel.isHidden = false
helpLabel.text = "Your password should be at least 8 characters."