@@ -532,28 +532,28 @@ extension SignUpViewController: UITextFieldDelegate {
532
532
}
533
533
}
534
534
@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 )
537
537
}
538
- self . userNameTextField. snp. updateConstraints {
538
+ self . userNameTextField. snp. makeConstraints {
539
539
$0. top. equalTo ( self . userNameLabel. snp. bottom) . offset ( 10 )
540
540
}
541
- self . emailLabel. snp. updateConstraints {
541
+ self . emailLabel. snp. makeConstraints {
542
542
$0. top. equalTo ( self . userNameExplanationLabel. snp. bottom) . offset ( 32 )
543
543
}
544
- self . emailTextField. snp. updateConstraints {
544
+ self . emailTextField. snp. makeConstraints {
545
545
$0. top. equalTo ( self . emailLabel. snp. bottom) . offset ( 10 )
546
546
}
547
- self . passwordLabel. snp. updateConstraints {
547
+ self . passwordLabel. snp. makeConstraints {
548
548
$0. top. equalTo ( self . emailExplanationLabel. snp. bottom) . offset ( 32 )
549
549
}
550
- self . passwordTextField. snp. updateConstraints {
550
+ self . passwordTextField. snp. makeConstraints {
551
551
$0. top. equalTo ( self . passwordLabel. snp. bottom) . offset ( 10 )
552
552
}
553
- self . checkPasswordLabel. snp. updateConstraints {
553
+ self . checkPasswordLabel. snp. makeConstraints {
554
554
$0. top. equalTo ( self . passwordBorderView. snp. bottom) . offset ( 32 )
555
555
}
556
- self . checkPasswordTextField. snp. updateConstraints {
556
+ self . checkPasswordTextField. snp. makeConstraints {
557
557
$0. top. equalTo ( self . checkPasswordLabel. snp. bottom) . offset ( 10 )
558
558
}
559
559
}
0 commit comments