Date Pickers

iOS Date Picker의 3가지 스타일을 직접 체험해보세요. Compact, Wheel, Graphical 스타일과 다양한 컴포넌트 조합을 컨트롤 패널에서 변경하면 iPhone 화면에 즉시 반영됩니다.

9:41
●●●● WiFi 🔋
Date Pickers
⚠️ HIG 위반: 날짜 선택기가 부적절합니다
📚 HIG Guidelines — 직접 체험하기
✓ Do — 올바른 예시
✗ Don't — 나쁜 예시

✓ 이렇게 하세요

  • Use Compact style in space-constrained areas like forms and list rows
  • Use Graphical style when users need to see surrounding dates for context
  • Use Wheel style when a familiar, quick-scroll experience is preferred
  • Set sensible minimum and maximum date ranges
  • Show only the components (date, time) relevant to the task

✗ 이렇게 하지 마세요

  • Don't use Wheel style when screen space is limited
  • Don't mix different picker styles in the same form
  • Don't hide the date picker behind extra taps if date selection is the primary task
  • Don't use Graphical style for time-only selection

👆 iPhone 미리보기에서 나쁜 패턴을 직접 확인해보세요

Date Only
Date & Time
Time Only
SwiftUI Code