рддреНрд░реБрдЯрд┐ UIAlertController рдирд╣реАрдВ рд╣реИ


I рдХреЗ рд╕рд╛рде рдХрд╛рдо рдХрд░рдиреЗ рд╡рд╛рд▓реЗ рдбрд┐рдЬрд╛рдЗрдирд░ рдЕрдХреНрд╕рд░ рд╕реНрдкрд╖реНрдЯ рд░реВрдк рд╕реЗ iOS рдореЗрдВ рддреНрд░реБрдЯрд┐ рд╕рдВрджреЗрд╢ рджреЗрдЦрддреЗ рд╣реИрдВред рдФрд░ рд╡рд┐рд╢реЗрд╖ рд░реВрдк рд╕реЗ, рдПрдХ UIAlertController рдХреЗ рд░реВрдк рдореЗрдВред


рдРрдкрд▓ рдХреЗ рдкрд╣рд▓реЗ рд╕реЗ рдЗрдВрд╕реНрдЯреЙрд▓ рдХрд┐рдП рдЧрдП рдРрдк рдиреЗ рдЯреНрд░реЗрдВрдб рд╕реЗрдЯ рдХрд░ рджрд┐рдпрд╛ред рдФрд░ рдпрд╣ рддрд░реНрдХрд╕рдВрдЧрдд рд╣реИ рдХрд┐ рдЗрдВрдЯрд░рдлрд╝реЗрд╕ рдбрд┐рдЬрд╛рдЗрдирд░ рдЗрд╕ рджреГрд╖реНрдЯрд┐рдХреЛрдг рдХреЛ рдореВрд▓ рдФрд░ рд╕рд╣реА рдорд╛рдирддреЗ рд╣реИрдВред


рдЗрд╕реА рд╕рдордп, рд░реВрд╕ рдореЗрдВ рдХрдИ рдЖрдИрдУрдПрд╕ рдбреЗрд╡рд▓рдкрд░реНрд╕ рдФрд░ рд╕реАрдЖрдИрдПрд╕ рд╕реНрд╡рддрдВрддреНрд░ рд░реВрдк рд╕реЗ рдпреВрдЖрдИрдПрд▓рд░реНрдЯрдХрдВрдЯреНрд░реЛрд▓рд░ рдХреА рдЕрд╕реНрд╡реАрдХреГрддрд┐ рдХреЗ рд▓рд┐рдП рдЖрддреЗ рд╣реИрдВ, рдЬреЛ рдореБрдЭреЗ рдИрдорд╛рдирджрд╛рд░реА рд╕реЗ рд╕рдореНрдорд╛рди рдФрд░ рдЙрддреНрд╕рд╛рд╣ рдХрд╛ рдХрд╛рд░рдг рдмрдирд╛рддреЗ рд╣реИрдВред


, UIAlertController. , UIAlertController .


┬л ┬╗. , , .


:


  1. .
  2. UIAlertController.
  3. UIAlertController .
  4. .


Apple Human Interface Guidelines :


Minimize alerts. Alerts disrupt the user experience and should only be used in important situations like confirming purchases and destructive actions (such as deletions), or notifying people about problems. The infrequency of alerts helps ensure that people take them seriously. Ensure that each alert offers critical information and useful choices. тАУ Apple, Human Interface Guidelines, iOS, Views, Alerts.

. , (, ), . . , . тАУ Apple, Human Interface Guidelines, iOS, Views, Alerts.


Prefer nonintrusive status messages over alerts. Alerts disrupt the user experience. List error messages inline with content instead of displaying them in alerts. тАУ Apple, Human Interface Guidelines, Architecture, Error Handling.

. . , . тАУ Apple, Human Interface Guidelines, Architecutre, Error Handling.


, , .


, Apple . .


.


UIAlertController, , . : ┬л ┬╗ ┬л┬╗.


, . , .


, тАУ . .


тАУ ┬лHome┬╗.


.



, . .


, , . , .


UIAlertController


Apple . , .


тАУ .


. , , . , .


, ?
тАУ .



, , . . , .



тАУ . , , UIAlertController.


, . .



: " " , UIAlertController.


, .


UIAlertController


Apple UIAlertController .


? , - . .


: ┬л , ?┬╗.


Apple ┬л┬╗ ┬л┬╗.


, - тАУ , UIAlertController . тАУ ┬л┬╗ iOS.


, , . ! , App Store.


, . iOS , .


UIAlertController , .



, .


, UIAlertController тАУ , .


, . .


-:


  1. https://developer.apple.com/design/human-interface-guidelines/carplay/architecture/error-handling/
  2. https://developer.apple.com/design/human-interface-guidelines/ios/views/alerts/
  3. https://medium.com/s/user-friendly/the-art-of-the-error-message-9f878d0bff80
  4. https://uxplanet.org/how-to-write-good-error-messages-858e4551cd4
  5. https://www.kaylaheffernan.com/blog/2014/12/9/error-messages
  6. https://medium.com/@thomasfuchs/how-to-write-an-error-message-883718173322

рдореИрдВ рддреБрдореНрд╣реЗрдВ рдЕрджреНрднреБрдд рдкрд░рд┐рдпреЛрдЬрдирд╛рдУрдВ рдХреА рдХрд╛рдордирд╛ рдХрд░рддрд╛ рд╣реВрдВ!


рдХреЛрдИ рд╕рд╡рд╛рд▓ рдпрд╛ рдЯрд┐рдкреНрдкрдгреА? рдореБрдЭреЗ рдмрд╛рдд рдХрд░рдиреЗ рдореЗрдВ рдЦреБрд╢реА рд╣реЛрдЧреА!


All Articles