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

Take time to load the view #16

Open
pinkal opened this issue Mar 2, 2016 · 1 comment
Open

Take time to load the view #16

pinkal opened this issue Mar 2, 2016 · 1 comment

Comments

@pinkal
Copy link

pinkal commented Mar 2, 2016

Hi, nice plugin.
I have one issue. I have navigation controller. My root view controller is FirstView and SecondView contains tableview with parallaxTableViewHeader. Now when i push from FirstView to SecondView it will take time to push to SecondView. (parallaxtableviewheader setup takes time to load the second view)
Can anyone give the suggestion to resolve this issue.

Thanks.

@Vinodh-G
Copy link
Owner

Vinodh-G commented Apr 9, 2016

Try loading the Parallax Header in the viewDidAppear:

Move the below code to viewDidAppear:

`ParallaxHeaderView *headerView = [ParallaxHeaderView parallaxHeaderViewWithImage:[UIImage imageNamed:@"HeaderImage"] forSize:CGSizeMake(self.mainTableView.frame.size.width, 300)];

[self.mainTableView setTableHeaderView:headerView];`

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