Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double segue - textView delegate method #1

Open
Przeszaf opened this issue Jan 29, 2018 · 0 comments
Open

Double segue - textView delegate method #1

Przeszaf opened this issue Jan 29, 2018 · 0 comments

Comments

@Przeszaf
Copy link
Owner

While using the textView delegate method - textViewShouldBeginEditing - the segue is sometimes performed twice. Now a workaround is implemented.
Using Date I check if the that passed since last textView segue is less or greater than 1 second. If it is less than 1 seconud, then the segue is not performed, else it performs normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant