Closed kartikthapar closed 9 years ago
Hey @kartikthapar - that's kind of an odd view hierarchy. It might be worth tweaking that design. Unfortunately, I don't have much advice. A video would help — you can use QuickTime to record your screen (with the simulator).
Thanks. Firstly, I don't consider it to be an odd hierarchy. A number of apps use navigation controllers in paged view controllers (or scroll views).
Anyhoo, I have been debugging this for a while and I can reproduce the same bug in the demo project using a single line of code. It's completely irrelevant to view hierarchies or issues with status bar, etc.
In viewDidAppear:
(or viewDidLoad:
) —
self.navigationController.navigationBar.translucent = NO;
And now you can see the pan behavior for the UIToolbar. I am really not sure what is causing this though. O_o
Ah, you should have mentioned that to begin with. This is a known issue. See #405
Oh! I didn't really see that in my first set of tests; I wondered it was something to do with me. Thanks!
JSQMessagesViewController
subclassed instance using basic navigation push action.Now I have spent about 2 hours understand different notifications and how you have implemented the pan gesture and compared my results to the demo project and I've got nothing.