apping/APParallaxHeader — pull request #11 by djbe (2013-12-02 14:04:22+00:00)
Title: Rotation resize

When rotating to landscape, the parallax view does not get resized...

portrait:
![portrait](https://f.cloud.github.com/assets/641356/1632753/f4e0b3f4-577c-11e3-9b57-e66017c972ba.png)

landscape:
![landscape](https://f.cloud.github.com/assets/641356/1632752/f4e01e44-577c-11e3-9c53-edae65acbfc2.png)

A fix for this is modifying this line of code (line 174):

[self setAutoresizingMask:UIViewAutoresizingFlexibleHeight];

to

[self setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];

and also a bit further down (line 179)

[self.imageView setAutoresizingMask:UIViewAutoresizingFlexibleHeight];

to

[self.imageView setAutoresizingMask:UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight];