iDevelopper / PBRevealViewController

A UIViewController subclass for revealing a left and/or right view controller above or below a main view controller.
MIT License
80 stars 16 forks source link

Issue with customization leftView #8

Closed Sebacho-Barajas closed 8 years ago

Sebacho-Barajas commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

thanks it's working properly now!