11
20
2013
279

About UIView content mode (UIViewContentMode)

From the documentation:

The content mode specifies how the cached bitmap of the view’s layer is adjusted when the view’s bounds change.

  • For an image view, this is talking about the image.
  • For a view that draws its content, this is talking about the drawn content. It does not affect the layout of subviews.

 

Category: iOS-Tips | Tags: ios objc uiview

Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com