Add support for scrollsToTop #11

arturgrigor opened this Issue Jan 28, 2013 · 1 comment


None yet

2 participants


Apparently if you have more than one scrolling view in a view controller, the "tap status bar to scroll to top" is disabled.

So, it would be nice if you can add some code to disable the scrollsToTop for the current unavailable table view (master when the pane is visible, and vice versa).



Fixed in version 0.2.0. In your master view controller, set yourself as the MSNavigationPaneViewController's delegate and implement it as follows. Included in the new examples and below.

self.navigationPaneViewController.delegate = self;
- (void)navigationPaneViewController:(MSNavigationPaneViewController *)navigationPaneViewController didUpdateToPaneState:(MSNavigationPaneState)state
    // Ensure that the pane's table view can scroll to top correctly
    self.tableView.scrollsToTop = (state == MSNavigationPaneStateOpen);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment