SwiftstructContactsUI

struct ContactsUI.ContactAccessButton

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 21

  1. fieldvar __orientation: SwiftUI.LazyState<UIDeviceOrientation>
  2. fieldvar _avatarStyle: SwiftUI.Environment<ContactsUI.ContactAccessButton.Style>
  3. fieldvar _caption: SwiftUI.Environment<ContactsUI.ContactAccessButton.Caption>
  4. fieldvar _colorScheme: SwiftUI.Environment<SwiftUI.ColorScheme>
  5. fieldvar _displayScale: SwiftUI.Environment<CoreGraphics.CGFloat>
  6. fieldvar _dynamicTypeSize: SwiftUI.Environment<SwiftUI.DynamicTypeSize>
  7. fieldvar _effectiveBackgroundStyle: SwiftUI.Environment<SwiftUI.AnyShapeStyle?>
  8. fieldvar _effectiveForegroundStyle: SwiftUI.Environment<SwiftUI.AnyShapeStyle>
  9. fieldvar _env: SwiftUI.Environment<SwiftUI.EnvironmentValues>
  10. fieldvar _mainFont: SwiftUI.Environment<SwiftUI.Font?>
  11. fieldvar _showLibraryUI: SwiftUI.State<Bool>
  12. fieldvar _tintColor: SwiftUI.Environment<SwiftUI.Color?>
  13. fieldvar contactApprovalCallback: (([String]) -> ())?
  14. fieldvar contactsButtonTip: ContactsUI.ContactsButtonTip
  15. fieldvar ignoreEmails: Set<String>
  16. fieldvar ignorePhones: Set<String>
  17. fieldlet orientationChanged: Combine.Publishers.Autoconnect<Combine.Publishers.MakeConnectable<NSNotificationCenter.Publisher>>
  18. fieldvar queryString: String
  19. initinit(queryString: String, ignoredEmails: Set<String>?, ignoredPhoneNumbers: Set<String>?, approvalCallback: (([String]) -> ())?) -> ContactsUI.ContactAccessButton
  20. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.SubscriptionView<Combine.Publishers.Autoconnect<Combine.Publishers.MakeConnectable<(extension in Foundation):__C.NSNotificationCenter.Publisher>>, SwiftUI.ModifiedContent<SwiftUI.VStack<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<ContactsUI.RepresentableSlotView, SwiftUI._FixedSizeLayout>, SwiftUI.AccessibilityContainerModifier>, SwiftUI.AccessibilityAttachmentModifier>>, SwiftUI._AppearanceActionModifier>>, SwiftUI.SheetPresentationModifier<SwiftUI.PresentationConditionalProjection.Item, ContactsUI.LimitedLibraryPickerHostView, SwiftUI.NullSheetAnchor<SwiftUI.SheetPreference.Key>>>
  21. varvar body: some SwiftUI.View { get }
struct ContactAccessButton {
    enum Caption {
        case email
        case phone
        case defaultText
    }
    struct Style {
        var imageTrailingEdgePadding: CoreGraphics.CGFloat?
        var imageWidth: CoreGraphics.CGFloat?
        var imageColor: SwiftUI.Color?

        init(imageTrailingEdgePadding: CoreGraphics.CGFloat?, imageWidth: CoreGraphics.CGFloat?, imageColor: SwiftUI.Color?)

        static var automatic: ContactsUI.ContactAccessButton.Style {
            get
        }
    }
    // synthesized from the backing storage `_mainFont`; the property's own accessors are stripped
    @SwiftUI.Environment var mainFont: SwiftUI.Font? {
        get
    }
    // synthesized from the backing storage `_tintColor`; the property's own accessors are stripped
    @SwiftUI.Environment var tintColor: SwiftUI.Color? {
        get
    }
    // synthesized from the backing storage `_effectiveForegroundStyle`; the property's own accessors are stripped
    @SwiftUI.Environment var effectiveForegroundStyle: SwiftUI.AnyShapeStyle {
        get
    }
    // synthesized from the backing storage `_effectiveBackgroundStyle`; the property's own accessors are stripped
    @SwiftUI.Environment var effectiveBackgroundStyle: SwiftUI.AnyShapeStyle? {
        get
    }
    // synthesized from the backing storage `_displayScale`; the property's own accessors are stripped
    @SwiftUI.Environment var displayScale: CoreGraphics.CGFloat {
        get
    }
    // synthesized from the backing storage `_avatarStyle`; the property's own accessors are stripped
    @SwiftUI.Environment var avatarStyle: ContactsUI.ContactAccessButton.Style {
        get
    }
    // synthesized from the backing storage `_caption`; the property's own accessors are stripped
    @SwiftUI.Environment var caption: ContactsUI.ContactAccessButton.Caption {
        get
    }
    // synthesized from the backing storage `_dynamicTypeSize`; the property's own accessors are stripped
    @SwiftUI.Environment var dynamicTypeSize: SwiftUI.DynamicTypeSize {
        get
    }
    // synthesized from the backing storage `_colorScheme`; the property's own accessors are stripped
    @SwiftUI.Environment var colorScheme: SwiftUI.ColorScheme {
        get
    }
    // synthesized from the backing storage `_env`; the property's own accessors are stripped
    @SwiftUI.Environment var env: SwiftUI.EnvironmentValues {
        get
    }
    var queryString: Swift.String
    // synthesized from the backing storage `_showLibraryUI`; the property's own accessors are stripped
    @SwiftUI.State var showLibraryUI: Swift.Bool {
        get
        set
    }
    var ignoreEmails: Swift.Set<Swift.String>
    var ignorePhones: Swift.Set<Swift.String>
    // synthesized from the backing storage `__orientation`; the property's own accessors are stripped
    @SwiftUI.LazyState var _orientation: __C.UIDeviceOrientation {
        get
        set
    }
    let orientationChanged: Combine.Publishers.Autoconnect<Combine.Publishers.MakeConnectable<__C.NSNotificationCenter.Publisher>>
    var contactsButtonTip: ContactsUI.ContactsButtonTip
    var contactApprovalCallback: ((_: [Swift.String]) -> ())?

    init(queryString: Swift.String, ignoredEmails: Swift.Set<Swift.String>?, ignoredPhoneNumbers: Swift.Set<Swift.String>?, approvalCallback: ((_: [Swift.String]) -> ())?)

    var body: some SwiftUI.View {
        get
    }
}