Contents

reservedLayoutWidth

The layout width that the system reserves for the accessory and then centers the accessory within.

Declaration

@property (nonatomic) CGFloat reservedLayoutWidth;

Discussion

Use this property to ensure consistent horizontal alignment from both system and custom accessories to your content, even when the accessories vary in size.

The reserved layout width only affects the amount of space for the accessory, and its positioning within that space. It doesn’t affect the size of the accessory.

[Image]

See Also

Customizing layout and placement