Agregar radio de esquina a uiview swift

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