Contents

contentInsets

The distance from the button’s content area to its bounds.

Declaration

@property (nonatomic, assign, readwrite) NSDirectionalEdgeInsets contentInsets;

Discussion

A button has a default inset based on its styling. This property is an additional inset applied after that default inset.

See Also

Configuring layout