System minimum layout margins.

The new designing for Apple Watch series 4 video and documentation talks about system minimum layout margins that will align items to the title and time on the new series 4 watchs. I've checked and I can find nothing that does this in interface building. How do we align to these margins?


https://developer.apple.com/documentation/watchkit/supporting_multiple_screen_sizes

Replies

Not only does there not seem to be any way of using these margins in Xcode, but if we try and set them in code the first place that the systemMinimumLayoutMargins is set correctly is in the didAppear method. In awake and willActivate these insets are all set to 0.


For now it looks like I'm going to have to do this all by hand for each different device size. For those interested, the 40mm has 8.5 pt leading and trailing insets and the the 44mm has 9.5 pt insets.

Seeing the same thing in watchOS 5.1. More quality output from Apple.

Just had a reply from my bug report where Apple have said:


"Please upload a sample project as the properties are expected to be populated on didAppear"


Which is obviously nonsense since the docs for awakeWithContext say:


"Use this method to finish the initialization of your interface"


Apple's documentation is sorely lacking.