Adicionar raio de canto ao UIView Swift

view.layer.cornerRadius = 25
view.layer.masksToBounds = true
Mobile Star