Skip to content

Commit 68b30bb

Browse files
authored
Merge pull request #138 from teamCA-PIN/feature/#111
[Fix] SignUpViewController Return 더블 클릭 μ‹œ μ•± Crash ν•΄κ²°
2 parents a54ae90 + f701172 commit 68b30bb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

β€ŽCA-PIN_IOS/CA-PIN_IOS/Screens/Login/ViewControllers/SignUpViewController.swiftβ€Ž

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -532,28 +532,28 @@ extension SignUpViewController: UITextFieldDelegate {
532532
}
533533
}
534534
@objc func keyboardWillDisappear(_ notification: NSNotification){
535-
self.userNameLabel.snp.updateConstraints {
536-
$0.top.equalToSuperview().offset(99)
535+
self.userNameLabel.snp.makeConstraints {
536+
$0.top.equalTo(self.navigationBarView.snp.bottom).offset(99)
537537
}
538-
self.userNameTextField.snp.updateConstraints {
538+
self.userNameTextField.snp.makeConstraints {
539539
$0.top.equalTo(self.userNameLabel.snp.bottom).offset(10)
540540
}
541-
self.emailLabel.snp.updateConstraints {
541+
self.emailLabel.snp.makeConstraints {
542542
$0.top.equalTo(self.userNameExplanationLabel.snp.bottom).offset(32)
543543
}
544-
self.emailTextField.snp.updateConstraints {
544+
self.emailTextField.snp.makeConstraints {
545545
$0.top.equalTo(self.emailLabel.snp.bottom).offset(10)
546546
}
547-
self.passwordLabel.snp.updateConstraints {
547+
self.passwordLabel.snp.makeConstraints {
548548
$0.top.equalTo(self.emailExplanationLabel.snp.bottom).offset(32)
549549
}
550-
self.passwordTextField.snp.updateConstraints {
550+
self.passwordTextField.snp.makeConstraints {
551551
$0.top.equalTo(self.passwordLabel.snp.bottom).offset(10)
552552
}
553-
self.checkPasswordLabel.snp.updateConstraints {
553+
self.checkPasswordLabel.snp.makeConstraints {
554554
$0.top.equalTo(self.passwordBorderView.snp.bottom).offset(32)
555555
}
556-
self.checkPasswordTextField.snp.updateConstraints {
556+
self.checkPasswordTextField.snp.makeConstraints {
557557
$0.top.equalTo(self.checkPasswordLabel.snp.bottom).offset(10)
558558
}
559559
}

0 commit comments

Comments
Β (0)