UIView(RevealBounds) Category Reference

Declared in UIView+RevealBounds.h

Overview

Provides access to the preferred reveal bounds for a UIView.

An example of it’s use is by the RBTextViewField class to ensure that when it is scrolled to, the region where the user is typing is revealed in the case when the view is larger than the viewable area.

Subclass to provide custom reveal behaviour.

  preferredBoundsToReveal

The bounds that should be revealed when scrolling to reveal this view.

@property (nonatomic, readonly) CGRect preferredBoundsToReveal

Declared In

UIView+RevealBounds.h