1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UIView (MGLAdditions) - (NSLayoutYAxisAnchor *)safeTopAnchor; - (NSLayoutXAxisAnchor *)safeLeadingAnchor; - (NSLayoutYAxisAnchor *)safeBottomAnchor; - (NSLayoutXAxisAnchor *)safeTrailingAnchor; @end NS_ASSUME_NONNULL_END