Contents

init(imageTrailingEdgePadding:imageWidth:imageColor:)

Creates a contact access button with the provided styling values.

Declaration

init(imageTrailingEdgePadding: CGFloat? = nil, imageWidth: CGFloat? = nil, imageColor: Color? = nil)

Parameters

  • imageTrailingEdgePadding:

    The trailing spacing between contact image and text fields. If nil, the style uses a default value.

  • imageWidth:

    The contact image width, in points. If nil, the style uses a default value.

  • imageColor:

    The color of the avatar badge to use, when a person in the contacts list doesn’t have a photo assigned. For design guidance, see Human Interface Guidelines > Color > Color#Specifications. Defaults to Gray.