Document Revision History

This table describes the changes to UIView Class Reference.

DateNotes
2014-03-10Updated layoutIfNeeded method description.
2013-12-16Clarified the behavior of the UIViewTintAdjustmentMode constants.
2013-10-22Updated advice about views that draw using OpenGL ES.
2013-09-18

Added descriptions for new properties in iOS 7: motionEffects, tintAdjustmentMode, and tintColor.

 

Added descriptions for new instance methods in iOS 7: snapshotViewAfterScreenUpdates:, resizableSnapshotViewFromRect:afterScreenUpdates:withCapInsets:, drawViewHierarchyInRect:afterScreenUpdates:, addMotionEffect:, removeMotionEffect:, tintColorDidChange.

 

Added descriptions for new class methods in iOS 7: addKeyframeWithRelativeStartTime:relativeDuration:animations:, animateKeyframesWithDuration:delay:options:animations:completion:, animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:, performSystemAnimation:onViews:options:animations:completion:, and performWithoutAnimation:.

 

Added descriptions for new key-frame animation constants in iOS 7: UIViewKeyframeAnimationOptionLayoutSubviews, UIViewAnimationOptionAllowUserInteraction, UIViewAnimationOptionBeginFromCurrentState, UIViewAnimationOptionRepeat, UIViewAnimationOptionAutoreverse, UIViewAnimationOptionOverrideInheritedDuration, UIViewAnimationOptionOverrideInheritedOptions, UIViewKeyframeAnimationOptionCalculationModeCubic, UIViewKeyframeAnimationOptionCalculationModeCubicPaced, UIViewKeyframeAnimationOptionCalculationModeDiscrete, UIViewKeyframeAnimationOptionCalculationModeLinear, and UIViewKeyframeAnimationOptionCalculationModePaced.

 

Added descriptions for new tit adjustment constants in iOS 7: UIViewTintAdjustmentModeAutomatic, UIViewTintAdjustmentModeDimmed, and UIViewTintAdjustmentModeNormal.

 

Added a description for a new animation constant in iOS 7: UISystemAnimationDelete.

2012-09-19Added methods and properties related to state preservation and restoration. Added methods related to autolayout. Fixed typo.
2011-10-12Added new animation transition constants.
2011-03-08Corrected the backgroundColor property description.
2010-11-15Updated the class overview and added new methods related to printing.
2010-06-04Updated to include symbols introduced in iOS 4.0.
2010-02-25Added descriptions of property and methods related to gesture recognizers.
2009-11-17Corrected description of the convertRect:toView: method.
2009-07-23Updated the information about view size restrictions to account for changes in iOS 3.0.
2009-06-15Updated the description of caching behaviors for the setAnimationTransition:forView:cache: method. Also updated the description of the behavior of the layoutIfNeeded method.
2009-03-05Updated for iOS 3.0.
2008-11-13Updated animationDidEndSelector: documentation.
2008-09-09Corrected description of background property.
2008-07-05New document that describes the superclass providing concrete subclasses with a structure for drawing and handling events in views.