Content Modes
Each view has a content mode that controls how the view recycles its content in response to changes in theview’s geometry and whether it recycles its content at all. When a view is first displayed, it renders its contentas usual and the results are captured in an underlying bitmap. After that, changes to the view’s geometry donot always cause the bitmap to be recreated. Instead, the value in the contentMode property determineswhether the bitmap should be scaled to fit the new bounds or simply pinned to one corner or edge of theview.
详情可以查看View Programming Guide里的Content Mode
各个选项都很简单 Scale To Fill 和 Aspect Fit的区别就是方向上的适应整个View
Redraw:to redraw themselvesduring scaling and resizing operations
Setting your view’s content mode to this value forces the system tocall your view’s drawRect: method in response to geometry changes. In general, you should avoid using thisvalue whenever possible, and you should certainly not use it with the standard system views.
view Mode 有下面这几个选项: