Skip to content

iOS components Advanced

StanceAttachmentPicker

Stable

Buttons that open the system photo picker and file importer without requesting library permission.

  • PlatformiOS and iPadOS, SwiftUI
  • Builds onPhotosPicker, fileImporter
  • Kindview

Preview

Rendered by the SwiftUI library, not drawn by hand.

StanceAttachmentPicker on iOS and iPadOSStanceAttachmentPicker on iOS and iPadOSStanceAttachmentPicker on iOS and iPadOS
StanceAttachmentPicker, Light appearance
Light
StanceAttachmentPicker, Dark appearance
Dark
StanceAttachmentPicker, High contrast appearance
High contrast

Usage

swift
StanceAttachmentPicker { _ in }

Accessibility

  • System pickers are fully accessible

On other platforms