     override func viewDidLoad() {
         super.viewDidLoad()
         configureView()
+        NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillShow), name:NSNotification.Name.UIKeyboardWillShow, object: nil)
+        NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillHide), name:NSNotification.Name.UIKeyboardWillHide, object: nil)
     }
 
     @IBAction func signUpAction(_ sender: Any) {

    @IBOutlet weak var phoneNumberInput: TextInputView!
    @IBOutlet weak var roleLabel: UILabel!
    @IBOutlet weak var goalSegmentedControl: UISegmentedControl!

    var role: [Role] = [Role.VOLUNTEER]
    var signUpOperation: SignUpOperation?

            }
        }
    }

    func keyboardWillShow(notification: NSNotification) {
        guard let keyboardStartFrame = notification.userInfo?[UIKeyboardFrameBeginUserInfoKey] as? NSValue else { return }
        var keyboardFrame: CGRect = keyboardStartFrame.cgRectValue
        keyboardFrame = self.view.convert(keyboardFrame, from: nil)
        self.scrollView.contentInset.bottom = keyboardFrame.size.height
    }

    func keyboardWillHide(notification: NSNotification) {
        self.scrollView.contentInset.bottom = self.tabBarController?.tabBar.frame.size.height ?? 0
    }
}
