π μμ΄-μ€-μμ€/πΊ ν-κ·Έ
[HIG] Views - Action Sheets
κ°λ°νλ νμ΄
2021. 8. 21. 21:58
π‘ κ°μΈμ μΈ κ³΅λΆλ₯Ό λͺ©μ μΌλ‘ λ²μνμ¬ κ°λ΅νκ² μ λ¦¬λ§ ν κΈμ λλ€. μ λ¬Έμ ν¬ν¨νκ³ μμ§ μμΌλ μμΈν λ΄μ©μ 곡μλ¬Έμλ₯Ό μ½μ΄λ³΄μκΈΈ κΆν΄λ립λλ€!
https://developer.apple.com/design/human-interface-guidelines/ios/views/action-sheets/
Action Sheets - Views - iOS - Human Interface Guidelines - Apple Developer
Action Sheets An action sheet is a specific style of alert that presents two or more choices related to the current context. On smaller screens, an action sheet slides up from the bottom of the screen; on larger screens, an action sheet appears all at once
developer.apple.com
Action Sheetλ νμ¬ μ»¨ν μ€νΈμ κ΄λ ¨λ λ κ° μ΄μμ μ νμ§λ₯Ό 보μ¬μ£Όλ νλ©΄ μλμμ μ¬λΌμ΄λλ‘ μ¬λΌμ€λ μμ μλ¦Ό νλ©΄μ λλ€.
- Action Sheetλ νκ΄΄μ μΈ μμ
(destructive operation)μ νμ νλ μ©λλ‘ μ¬μ©ν©λλ€.
- μ¬μ©μλ€μκ² λΉνκ΄΄μ μΈ μμ κ³Ό κ΄λ ¨λ νλμ μ ννκ² ν λλ pull-down λ©λ΄λ₯Ό μ΄μ©νμΈμ.
- νκ΄΄μ μΈ μμ
μ μ·¨μνκΈ° μν μ·¨μ λ²νΌμ μ 곡νμΈμ.
- μ·¨μ λ²νΌμ action sheetμ κ°μ₯ νλ¨μ μμΉν΄μΌ ν©λλ€.
- νκ΄΄μ μΈ μμ
μ λν μ νμ§λ μ€μλλ₯Ό κ°μ‘°νμΈμ.
- λΆμμ λ²νΌμ μ 곡ν΄μ νκ΄΄μ μ΄κ±°λ μνν νλμ κ°μ‘°νκ³ μ΄λ° λ²νΌμ Action Sheetμ κ°μ₯ μλ¨μ μμΉνλλ‘ ν΄μΌ ν©λλ€.
- Action Sheetλ μ€ν¬λ‘€μ΄ λμ§ μλλ‘ νμΈμ.
- Action Sheetκ° λ무 λ§μ μ΅μ μ κ°μ§κ³ μλ€λ©΄ μ¬μ©μλ€μ΄ μ€ν¬λ‘€μ λ΄λ¦¬λ©° νμΈν΄μΌ ν©λλ€. μ€ν¬λ‘€μ μ¬μ©μλ€μ΄ μ νμ λ΄λ¦¬λλ° μ΄λ €μμ μ€λλ€.
κ°λ°μ κ°μ΄λ : UIAlertController.Style.actionSheet