Slide 10
Slide 10 text
Default values
!10
view.layoutMargins = UIEdgeInsets(top: 5, left: 5, bottom: 5, right: 5)
view.layoutMargins.top = 30
view.directionalLayoutMargins.leading = 20
Plain UIView:
UIEdgeInsets(top: 8, left: 8, bottom: 8, right: 8)
Plain UIViewController ’s view:
UIEdgeInsets(top: 8, left: 15, bottom: 8, right: 15)
UIViewController ’s view in UINavigationController:
UIEdgeInsets(top: 8, left: 16/20, bottom: 8, right: 16/20)