UIView frame, bounds and center

后端 未结 6 856
梦谈多话
梦谈多话 2020-11-22 10:40

I would like to know how to use these properties in the right manner.

As I understand, frame can be used from the container of the view I am creating. I

6条回答
  •  失恋的感觉
    2020-11-22 11:16

    There are very good answers with detailed explanation to this post. I just would like to refer that there is another explanation with visual representation for the meaning of Frame, Bounds, Center, Transform, Bounds Origin in WWDC 2011 video Understanding UIKit Rendering starting from @4:22 till 20:10

提交回复
热议问题