Comments (9)
Any suggestions on this one? I can't get the statusbar taps to work at all. I was looking at another controller viewDeck, it seems to work fine,but i kinda like ZUUIRC and i really hope somebody can point me in the right direction.
from pkrevealcontroller.
I am having the same issue, on anything using the UIUserInterfaceIdiomPhone the code
[tableview setScrollsToTop:YES]
has no affect. You cannot tap the status bar to scroll to the top, but on the UIUserInterfaceIdiomPad it works just fine, presumably this is because the iPad has built in support for multiple scroll views.
from pkrevealcontroller.
I also encounter this issue. Any solutions guys?
from pkrevealcontroller.
Yeah probably iPad is okay because it has built-in support for multiple scroll views. I wonder how viewdeck solved this
from pkrevealcontroller.
Had the same problem, what worked for me was to put self.tableView.scrollsToTop = YES; on viewDidLoad of the frontViewController and self.tableView.scrollsToTop = NO; on viewDidLoad of the rearViewController.
from pkrevealcontroller.
Hi giannisp, I can vouch that worked for me and possibly the correct solution. Thanks for pointing it out.
from pkrevealcontroller.
On iOS when the UIViewController containg a UITableView is inside of a UINavigationController setting tableView.scrollsToTop = YES doesnt fix the issue. To be clear my layout is...
ZUUIRevealController FrontViewController -> UINavigationController RootViewController -> UITableViewController
My RearViewController does not contain a UITableView or implement any of the UITableViewDelegates
The only way I can get it to work is if I click a button on my RearViewController that pushes back to my front view controller which leads me to believe it has nothing to do with the contents of the RearViewController but rather something with ZUUIRevealController itself
Edit: Other folks had issues with UITableView not working and setting [self.tableView setBounces:YES] seems to have fixed it, even though UITableView in the Nib is set to bounce already
from pkrevealcontroller.
I just had this issue because both rear and front VCs had tableviews in them. I had to disable scrolls to top on rear view to fix it.
But I wonder what is the correct way to do this. Shouldn't rear VC remove itself and its view from the hierarchy when hidden?
from pkrevealcontroller.
Had encountered this issue. giannisp's solution is worked for me. Put "scrollsToTop" inside the ZUUIRevealControllerDelegate method. Let this property changing as the rear view is revealed or hidden. Thanks giannisp!
from pkrevealcontroller.
Related Issues (20)
- Limit the pan gesture in the main view
- PKRevealController doesn't play well with unwind segues
- UIScreenEdgePanGestureRecognizer instead of UIPanGestureRecognizer
- LeftView and CenterView Controller both vertical scrollable
- Show left or right UIViewController programmatically. HOT 1
- revealController:willChangeToState firing too late
- It will flash in the first time HOT 1
- leftBarButtonItem
- How to do ajustment of leftview to statusbar in IOS8?
- Disable pan gesture on front VC when showing VCs from side HOT 1
- Difference to UISplitViewController HOT 1
- Panning doesn't work HOT 1
- Create new tag v2.0.7 for CocoaPod
- 2:Issues as need quick assistance
- Add tabbar
- Crashes When Attempting to Present Side View Multiple Times
- setFrontViewController deprecated, no replacement HOT 1
- PKReveal dead? HOT 3
- `prefersStatusBarHidden` is not called in the FrontViewController
- ViewController lost reference when push notification was being clicked and when the app was in background too
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pkrevealcontroller.