Fade anumation Swift

UIView.animate(withDuration: 1.5) {

        view.alpha = 1.0
    }
ShahbazAli