Skip to content

becomeFirstResponder hide the hint #8

@walteryaron

Description

@walteryaron

when using
override func viewDidLoad() {
super.viewDidLoad()
_ = hintTextField.becomeFirstResponder()
}
hint doesn't showing
to solve it I use
DispatchQueue.main.asyncAfter(deadline: .now() + 1.0) {
_ = hintTextField.becomeFirstResponder()
}
but it doesn't look good when you push new screen

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions