Instance Property

readableContentGuide

A layout guide representing an area with a readable width within the view.

Declaration

@property(nonatomic, readonly, strong) UILayoutGuide *readableContentGuide;

Discussion

This layout guide defines an area that can easily be read without forcing users to move their head to track the lines. The readable content area follows the following rules:

  1. The readable content guide never extends beyond the view’s layout margin guide.

  2. The readable content guide is vertically centered inside the layout margin guide.

  3. The readable content guide’s width is equal to or less than the readable width defined for the current dynamic text size.

Use the readable content guide to lay out a single column of text. If you are laying out multiple columns, you can use the guide’s width to determine the optimal width for your columns.

See Also

Working with Layout Guides

- addLayoutGuide:

Adds the specified layout guide to the view.

layoutGuides

The array of layout guide objects owned by this view.

layoutMarginsGuide

A layout guide representing the view’s margins.

- removeLayoutGuide:

Removes the specified layout guide from the view.