10

I was wondering if there is a way to find the values that correspond with Standard when you set autolayout separation in XCode.

TIA Mark

MarkAurelius
  • 1,203
  • 1
  • 14
  • 27

1 Answers1

16

There does not appear to be a constant available that you can access. Based on What constant can I use for the default Aqua space in Autolayout? the spacings are:

  • 20.0 between parent and child views (eg. a child view will start at 20, 20)
  • 8.0 between sibling views (eg. two children of the same parent will be 8.0 units apart)
Community
  • 1
  • 1
Iain McManus
  • 1,095
  • 13
  • 21