SwiftstructContactsUI
ContactAccessButton
struct ContactsUI.ContactAccessButton
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 21
- field
var __orientation: SwiftUI.LazyState<UIDeviceOrientation> - field
var _avatarStyle: SwiftUI.Environment<ContactsUI.ContactAccessButton.Style> - field
var _caption: SwiftUI.Environment<ContactsUI.ContactAccessButton.Caption> - field
var _colorScheme: SwiftUI.Environment<SwiftUI.ColorScheme> - field
var _displayScale: SwiftUI.Environment<CoreGraphics.CGFloat> - field
var _dynamicTypeSize: SwiftUI.Environment<SwiftUI.DynamicTypeSize> - field
var _effectiveBackgroundStyle: SwiftUI.Environment<SwiftUI.AnyShapeStyle?> - field
var _effectiveForegroundStyle: SwiftUI.Environment<SwiftUI.AnyShapeStyle> - field
var _env: SwiftUI.Environment<SwiftUI.EnvironmentValues> - field
var _mainFont: SwiftUI.Environment<SwiftUI.Font?> - field
var _showLibraryUI: SwiftUI.State<Bool> - field
var _tintColor: SwiftUI.Environment<SwiftUI.Color?> - field
var contactApprovalCallback: (([String]) -> ())? - field
var contactsButtonTip: ContactsUI.ContactsButtonTip - field
var ignoreEmails: Set<String> - field
var ignorePhones: Set<String> - field
let orientationChanged: Combine.Publishers.Autoconnect<Combine.Publishers.MakeConnectable<NSNotificationCenter.Publisher>> - field
var queryString: String - init
init(queryString: String, ignoredEmails: Set<String>?, ignoredPhoneNumbers: Set<String>?, approvalCallback: (([String]) -> ())?) -> ContactsUI.ContactAccessButton - typealias
typealias 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>>> - var
var body: some SwiftUI.View { get }
Header
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 } }