How can you get in the code the value of the standard interval used in autorun?

I was wondering if there is a way to find values ​​that conform to the standard when you set up auto-detection splitting in Xcode.

TIA Mark

+5
source share
1 answer

It seems that there is no constant available that you can access. Based on What constant can I use for the standard Aqua space in Autolayout? , the following intervals:

  • 20.0 between parent and child views (for example, a child view starts at 20, 20).
  • 8.0 between sister representations (for example, two children of the same parent will be divided into 8.0 units).
+8
source

Source: https://habr.com/ru/post/1201993/


All Articles