Do I have the right understanding of frames and bounds in UIKit?

后端 未结 5 1937
深忆病人
深忆病人 2020-12-23 20:55

Let me try to explain it. Please tell me if I am wrong. I am just 70% sure about it.

Like I understand it, an UIView has a frame and an bounds rectangle. The job of

5条回答
  •  [愿得一人]
    2020-12-23 21:21

    http://developer.apple.com/library/ios/#documentation/windowsviews/conceptual/viewpg_iphoneos/WindowsandViews/WindowsandViews.html

    For iOS. Origin coordinate is in different location from Mac OS (upper left, not lower left)

提交回复
热议问题