Skip to content

Resize foregroundScrollView frame.  #19

@markst

Description

@markst

When QMBParallaxScrollViewController's view frame changes the subviews do not update accordingly.

One solution is to update the foregroundScrollView's frame upon view frame observer change:

if ([keyPath isEqualToString:@"frame"]) [self.foregroundScrollView setFrame:(CGRect){{0,0},self.view.frame.size}];

or set the _foregroundScrollView's auto resizing mask

_foregroundScrollView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions