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

Non translucent navigation bar & iOS 8 #7

Closed
gobtronic opened this issue Mar 11, 2015 · 1 comment
Closed

Non translucent navigation bar & iOS 8 #7

gobtronic opened this issue Mar 11, 2015 · 1 comment

Comments

@gobtronic
Copy link

Hey,

I'm trying to use your project with a non-translucent bar on iOS 8 and the tableview insets are not correct.
See here : http://cl.ly/image/2P2A3C0H250N and http://cl.ly/image/0R1y2b3S3j2N

I tried setting the tableview.contentInset to 0 top but the trigger seems to start at 64 (status bar + navigation bar height).

Using your sample project :
• Navigation bar non translucent
• addPullToRefreshActionHandler: in viewDidAppear
• self.automaticallyAdjustsScrollViewInsets = NO; and self.tableView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0); in viewDidLoad

Thanks !

@uzysjung
Copy link
Owner

Thanks for the bug reporting.
For a convenience, I assume only translucent navigation bar.

therefore if you use non-translucent navigation bar , you just set [self.tableView addTopInsetInPortait:0 TopInsetInLandscape:0] after addPullToRefreshActionHandler like sample project.

sooner or later. support non-translucent navigation bar using method.

thanks.

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

2 participants