🍎
ios.dev
Ctrlk
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
    • 其他
    • 雜記 📥
Powered by GitBook
On this page

Was this helpful?

  1. 🔰SwiftUI
  2. 🔰views
  3. 🔰view layout

Adaptive Layout

🧩SwiftUI ⟩ Layout ⟩

  • Size Classes

  • Dynamic Type Sizes

  • Human Interface Guidelines ⟩ Adaptivity and Layout ⟩ Size Classes

  • SwiftUI ⟩ State and Data Flow ⟩ EnvironmentValues ⟩

    • horizontalSizeClass : UserInterfaceSizeClass (enum)

    • verticalSizeClass : UserInterfaceSizeClass (enum)

  • ViewBuilder

  • Size Classes

  • Preferences ⟩ PreferenceKey

  • AdaptiveHStack

PreviousIndexedGridLayoutNextAlignment

Last updated 3 years ago

Was this helpful?