Skip to content

Accelerate the animation if show keyboard #72

@ivanvorobei

Description

@ivanvorobei

If present controller

class TextFieldController: UIViewController {
    
    let textField = UITextField()
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = .white
        self.view.addSubview(self.textField)
    }
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.textField.becomeFirstResponder()
    }
}

with SPStorkTransitionDelegate, animation for parent controller accelerate. If remove

self.textField.becomeFirstResponder()

all work correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededminor bugNot critical bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions