简体   繁体   中英

What is the recommended way to show validation messages in an iPhone app?

I couldn't find much information about this in Apple's Human Interface Guidelines .

I have a form where input fields are there to collect input from the user, but if validation fails I would like to show the validation message inline just like the way we show validation message on any web page like right underneath it.

Is there a recommended way of doing this in an iOS app like showing all the validation messages right at the bottom of the screen or something like that?

Here is the sample UI that I'm trying to do in iPhone:

在此处输入图片说明

I just want to stick with the convention the iOS community follows.

That's all to you, but you can use what Apple uses to notify a user. For instance, a wrong password you can shake a textfield or the whole view. Or you can show a notification-like message or even an alert view to display a message.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM