We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 328b930 commit 674adfeCopy full SHA for 674adfe
iOS/IssueTracker/IssueTracker/05.CustomUI/SubmitForm/SubmitFormViewController.swift
@@ -96,11 +96,12 @@ extension SubmitFormViewController {
96
self.view.endEditing(true)
97
self.formViewEndPoint = nil
98
let finalPos = formView.frame.origin.y + moveUpward
99
- UIView.animate(withDuration: 0.3) {
+
100
+ UIView.animate(withDuration: 0.3, animations: {
101
self.formView.frame.origin.y = finalPos
- } completion: { _ in
102
+ }, completion: { _ in
103
- }
104
+ })
105
106
self.moveUpward = 0
107
}
0 commit comments