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

Issue with customization leftView #8

Closed
Sebacho-Barajas opened this issue Oct 1, 2016 · 5 comments
Closed

Issue with customization leftView #8

Sebacho-Barajas opened this issue Oct 1, 2016 · 5 comments

Comments

@Sebacho-Barajas
Copy link

I know this Class is not the same as swrevealviewcontroller but it is very similar , I'm transitioning from SWRevealviewcontroller, in my leftview i used to have a tableview customized with a gradient but when I started to use PBrevealviewcontroller the tableview background appears with white color and I also have an issue with the statusbar as I need it to show uistatusbarlightcontent(with SWRevealviewcontroller it used the statusbar from the viewcontroller) .

@iDevelopper
Copy link
Owner

Regarding your table view, could you test with the last version please (on Github), not yet on CocoaPods. PBRevealViewController class does nothing with the status bar appearance. Waiting for your feedback.

@Sebacho-Barajas
Copy link
Author

Sebacho-Barajas commented Oct 1, 2016

Hi i used the latest update and i'm still getting same issue with tableview, all my customizations are done programmatically(Objective C) .
I fixed statusbar by adding - (UIStatusBarStyle)preferredStatusBarStyle {
return UIStatusBarStyleLightContent;
}

@Sebacho-Barajas Sebacho-Barajas changed the title Issue with customization leftView and statusbar Issue with customization leftView Oct 1, 2016
@Sebacho-Barajas
Copy link
Author

Sebacho-Barajas commented Oct 2, 2016

Update: I can customize de tableview background Color and cells height programmatically.
but it does not work with [self.tableView setBackgroundView = myview]; as it supposed to do

@iDevelopper
Copy link
Owner

Any apologies, it's my fault. I corrected and pushed on Github and this is a sample:

PBRevealSample.zip

For the status bar:

2016-10-02_07-41-48
2016-10-02_07-38-00

@Sebacho-Barajas
Copy link
Author

thanks it's working properly now!

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