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

resize header height #60

Closed
CavalcanteLeo opened this issue Feb 8, 2017 · 7 comments
Closed

resize header height #60

CavalcanteLeo opened this issue Feb 8, 2017 · 7 comments
Labels

Comments

@CavalcanteLeo
Copy link

CavalcanteLeo commented Feb 8, 2017

My header loads with a specific height, then I fetch the user data on server and load all informations about the user.

I need to change the header size after all informations are ready.

I tried to use self.segmentedPager.parallaxHeader.height = CGRectGetHeight(headerBoxView.bounds); but didn't work

the CGRectGetHeight(headerBoxView.bounds returns the right height, but the header doesn't change

[headerBoxView setNeedsLayout];
self.segmentedPager.parallaxHeader.height = CGRectGetHeight(headerBoxView.bounds);
[self.segmentedPager reloadData];
[self.segmentedPager layoutIfNeeded];
[self.view layoutIfNeeded];
@smidaharoun
Copy link

any updates about this issue?

@tschmitz
Copy link

tschmitz commented Apr 2, 2017

@CavalcanteLeo Did you find a solution to this issue? I'm having the same problem.

@tiwari1amrit
Copy link

Did anybody find a solution of this issue?

@trmquang
Copy link

I'm having the same problem too

@cgarg
Copy link

cgarg commented Feb 1, 2019

Same problem. @maxep Is there any solution or hack for this? TIA 🙏🏻

@stale
Copy link

stale bot commented Aug 9, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 9, 2019
@stale stale bot closed this as completed Aug 16, 2019
@sseno
Copy link

sseno commented Jul 17, 2020

Anyone knows how to fix it ? :')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants