One Logo Pool Ball
ContactsUI · IOS API REFERENCE

ContactAccessButton.Style

struct · iOS 18.0+ · SDK 27.1

struct Style

Members (2)

init · iOS 18.0+

init

TypeScript
static init(imageTrailingEdgePadding?: (number) | null, imageWidth?: (number) | null, imageColor?: (_SwiftUICore_Color) | null): Promise<ContactAccessButton_Style>
Swift declaration
init(imageTrailingEdgePadding: CGFloat? = nil, imageWidth: CGFloat? = nil, imageColor: Color? = nil)

Describes the style configuration for ContactAccessButton. The point sizes should be considered carefully, as exceeding reasonable limits may cause the button to become invalidated and disabled, becoming unable to respond to user taps. Parameters: - imageTrailingEdgePadding: Sets trailing spacing between contact image and text fields, in points. Will be left as default value if unset - imageWidth: Sets contact image width, in points. Will be left as default value if unset - imageColor: Color of the avatar badge, when not a photo. Defaults to gray.

get · iOS 18.0+

automatic

TypeScript
static get automatic(): Promise<ContactAccessButton_Style>
Swift declaration
static let automatic: ContactAccessButton.Style

Skipped declarations

No declarations were skipped in this snapshot.

All ContactsUI types →