SafeAreaView
@available(iOS 11.0, *)
public class SafeAreaView : UIView
A View that respects the SafeArea
-
Create a SafeAreaView
Declaration
Swift
public init(_ closure: () -> UIView)
Parameters
closure
A trailing closure that accepts a view