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

Swipe gesture doesn't work with banners over navigation bar position #263

Open
synergetica11 opened this issue Nov 12, 2015 · 0 comments
Open

Comments

@synergetica11
Copy link

The problem is in 430 line in TSMessageView.m

Gesture direction is never set for TSMessageNotificationPositionNavBarOverlay

You should set it like
[gestureRec setDirection:(self.messagePosition == (TSMessageNotificationPositionTop || TSMessageNotificationPositionNavBarOverlay) ?
UISwipeGestureRecognizerDirectionUp :
UISwipeGestureRecognizerDirectionDown)];

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