Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

image does not resize when resizing view [solution included, please check in to master] #21

Open
ebm42 opened this issue Nov 4, 2014 · 2 comments

Comments

@ebm42
Copy link

ebm42 commented Nov 4, 2014

i am using the APParallaxHeader in a Modal View which is resizeable. i figured out that the image does not resize but the APParallaxView does. So, easy fix for that is to set the autoresizingMask of imageView to the following in line 196:

[self.imageView setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];

and also in line 189 set the autoresizingmask for self:

[self setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];

@devdavidkarlsson
Copy link

+1 for this

@brandonscript
Copy link

Probably easier to make a pull request for this solution ;)

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

No branches or pull requests

3 participants