SlackTextViewController
SlackTextViewController copied to clipboard
Move keyboard down with drag
I'm trying to achive keyboard behaviour when it is going down when dragging down just like iMessage does. I checked example projects but I can't make it work - even so GIF on README shows it is possible.
Unfortunately, having keyboardDismissMode as .interactive makes keyboard move but toolbar with textView stays in the same position.
tableView?.keyboardDismissMode = .interactive
From the other hand, isKeyboardPanningEnabled is set to true but it dosen't do anything, because, from what I understand, it won't work above iOS 9. The problem is here, in SlackTextViewController.m, method - (void)slk_handlePanGestureRecognizer:(UIPanGestureRecognizer *)gesture, where we can't access keyboardView - the property is nil.
Is there any option to do it within SlackTextViewController?
+1