Skip to content

iOS

Getting the SafeArea

With the arrival of the iPhoneX, I've become more concerned with the layout of the iPhoneX (getting SafeArea). SafeArea can be obtained by referring to the safeAreaInsets property in the viewDidLayoutSubviews method. Read more