Input instructions on iOS
When a label might not describe the requested input sufficiently, you should add additional instructions. For example, if passwords are required to be at least 8 characters, indicate this to users.
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 displaying instructions. Unfortunately, accessibility is often not considered in the implementations.
helpLabel.isHidden = false
helpLabel.text = "Your password should be at least 8 characters."