iOS Developer Library

Developer

UIKit Framework Reference UIView Class Reference

Document Revision History

This table describes the changes to UIView Class Reference.

Date

Notes

2015-01-24

Updated sizeThatFits description.

2014-09-17

Updated for iOS 8.

2014-03-10

Updated layoutIfNeeded method description.

2013-12-16

Clarified the behavior of the UIViewTintAdjustmentMode constants.

2013-10-22

Updated advice about views that draw using OpenGL ES.

2013-09-18


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-19

Added methods and properties related to state preservation and restoration. Added methods related to autolayout. Fixed typo.

2011-10-12

Added new animation transition constants.

2011-03-08

Corrected the backgroundColor property description.

2010-11-15

Updated the class overview and added new methods related to printing.

2010-06-04

Updated to include symbols introduced in iOS 4.0.

2010-02-25

Added descriptions of property and methods related to gesture recognizers.

2009-11-17

Corrected description of the convertRect:toView: method.

2009-07-23

Updated the information about view size restrictions to account for changes in iOS 3.0.

2009-06-15

Updated the description of caching behaviors for the setAnimationTransition:forView:cache: method. Also updated the description of the behavior of the layoutIfNeeded method.

2009-03-05

Updated for iOS 3.0.

2008-11-13

Updated animationDidEndSelector: documentation.

2008-09-09

Corrected description of background property.

2008-07-05

New document that describes the superclass providing concrete subclasses with a structure for drawing and handling events in views.