image does not resize when resizing view [solution included, please check in to master]
ebm42 opened this issue · 2 comments
ebm42 commented
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 commented
+1 for this
brandonscript commented
Probably easier to make a pull request for this solution ;)