Instance Property

enableSetNeedsDisplay

A Boolean value that indicates whether the view responds to setNeedsDisplay.

Declaration

@property(nonatomic) BOOL enableSetNeedsDisplay;

Discussion

If this value and the value of paused are YES, the view behaves similarly to a UIView object, responding to calls to setNeedsDisplay. In this case, the view’s internal draw loop is paused and updates are event-driven instead.

The default value is NO.

See Also

Drawing Your View’s Contents

- draw

Redraws the view’s contents immediately.