[ad_1]
If you are using swift 3, you should animate like this:
UIView.animate(withDuration: 0.5) {
// You code that will be animated
}
You are missing the {}.
[ad_2]
solved My Xcode keeps sending an error and I can’t seem to fix it
[ad_1]
If you are using swift 3, you should animate like this:
UIView.animate(withDuration: 0.5) {
// You code that will be animated
}
You are missing the {}.
[ad_2]
solved My Xcode keeps sending an error and I can’t seem to fix it