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

headImageView doesn't resize #26

Open
ronaldalfaro opened this issue May 13, 2016 · 3 comments
Open

headImageView doesn't resize #26

ronaldalfaro opened this issue May 13, 2016 · 3 comments

Comments

@ronaldalfaro
Copy link

Hi!

Thanks for this third part, I'm developing a custom header like as project example, I have copied the same code but the headImageView doesn't resize, I have checked that updateHeadPhotoWithTopInset method did not fire too.

I'm new in objective-c, What could I be doing wrong??

@AugustRush
Copy link
Owner

You should not chenged this 'internal implimenon',you can just inherience this class and override the -
(UIView *)customHeaderView method, all things will be fine.

@ronaldalfaro
Copy link
Author

Hi! I have not changed the code, I just only overwrite the subviews, but headImageView didn't resize.

@AugustRush
Copy link
Owner

May be you add observer the tableView's 'contentOffset', rewrite the KVO method.

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