🍎
ios.dev
search
⌘Ctrlk
ios.devchevron-down
🍎
ios.dev
  • 🍎ios.dev
  • ⭐features
  • 👔custom
  • 🐦Swift
  • 🔰SwiftUI
    • 🔰SwiftUI terms
    • 🔰introduction
    • 🚩app
    • 🔰views
      • 🔰view hierarchy
      • 🔰view state
      • 🔰view layout
        • 🔹.padding( )
        • 🔴Position
        • 🔸frame
        • 🔸view size
        • 🎁stacks
        • 🎁grids
        • Adaptive Layout
        • Alignment
        • 🌿Layout ⟩ Types
        • ⛔Cannot convert value of type 'Self' to expected argument type 'Binding<C>'
      • 🔰view actions
      • 🔰view environment
      • 🔰view groupings
      • 🔰navigation
      • 🔰view modifier
      • 🔰drawing views
      • 🔰measuring views
      • 🔰Configuring Views
      • 🔰events
      • 📦ViewBuilder
      • 🔰Optional Views
      • 🅿️View
      • 📦Link
      • 🔰Swipe Actions
      • 🔰3D transform
      • ⭐Live Activites
      • 🔰life cycle
    • 🔰styles
    • 🔰lists
    • 🎛️controls
    • 🔰shapes
    • 🎁container
    • 🚦data flow
    • 🏎️animations
    • 👆Gestures
    • 🔰Presentations
    • 🔰Debugging in SwiftUI
    • 🎹keyboard
    • 🔰for mac
    • 🚫deprecated
  • 🎛️widgets
  • 🎁Data Structures
  • 🧠Algorithms
  • ⛱️Swift Playgrounds
  • 🥁Audio / Video
  • ⛔Errors
  • 附錄
    • 🧩Swift Package
    • 🔰Design Patterns
    • 🛠️Xcode
    • 💼Projects
    • ✅Testing System
    • Prototyping
    • 💡Tips
    • JSON
    • Terms
    • 其他
    • 雜記 📥
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. 🔰SwiftUIchevron-right
  2. 🔰viewschevron-right
  3. 🔰view layout

Adaptive Layout

🧩SwiftUI ⟩ Layout ⟩

  • Size Classes

  • Dynamic Type Sizes

  • Human Interface Guidelinesarrow-up-right ⟩ Adaptivity and Layoutarrow-up-right ⟩ Size Classesarrow-up-right

  • SwiftUI ⟩ State and Data Flowarrow-up-right ⟩ EnvironmentValuesarrow-up-right ⟩

    • horizontalSizeClassarrow-up-right : UserInterfaceSizeClassarrow-up-right (enum)

    • verticalSizeClassarrow-up-right : UserInterfaceSizeClassarrow-up-right (enum)

  • ViewBuilder

  • Size Classes

  • Preferences ⟩ PreferenceKey

  • AdaptiveHStack

PreviousIndexedGridLayoutchevron-leftNextAlignmentchevron-right

Last updated 3 years ago