I am trying to use the following code to round the top corners
func roundCorners(corners:UIRectCorner, radius: CGFloat) {
let path = UIBezierPath(roundedRect: self.bounds,
byRoundingCorners
I am trying to use the following code to round the top corners
func roundCorners(corners:UIRectCorner, radius: CGFloat) {
let path = UIBezierPath(roundedRect: self.bounds,
byRoundingCorners
See answer in English> Ionic – White edge on iPhone X in header 1
I follow Understanding the WebView Viewport in iOS 11 and Cordova app not displaying correctly on iPhone X (Simulator) The instruct