What is the difference of intrinsic size vs system width/height constraints?

后端 未结 4 688
梦毁少年i
梦毁少年i 2021-02-02 14:08

Starting to move from springs and structs layout to auto layout and have some questions regarding \"Intrinsic Size\" setting.

If you set \"Intrinsic Size\" of some view

4条回答
  •  攒了一身酷
    2021-02-02 14:46

    Every view that contains content can calculate its intrinsic content size. The intrinsic content size is calculated by a method on every UIView instance. This method returns a CGSize instance

提交回复
热议问题