Radius de Coner
//Add these lines in your viewcontroller which you want to present
view.layer.cornerRadius = 15.0 // any radius value
view.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]
Dead Dormouse