I\'m trying to set the animation for the view to move up when keyboard is hiding and appearing for the text fields and I got it to work perfectly fine, but when the focus moves
Use UITextFieldDelegate
and
func textFieldDidBeginEditing(textField: UITextField) { println("did") if textField.tag == 1{ self.txtFullName.layer.borderColor = UIColor.blueColor().CGColor } }