11
20
2013
0

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 | Read Count: 1543

登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter

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