Skip to content

OUIScalingView layoutSubViews doesn't call super #75

Description

@memmons

I've had an error similar to the following pop up a few times because OUIScalingViewController layoutSubViews doesn't call super:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Auto Layout still required after executing -layoutSubviews needs to call super.'

This is an issue when using an OUIScalingView subclass in a xib or storyboard that has autolayout turned on.

- (void)layoutSubviews;
{
    if (self.wantsShadowEdges) {
        [self updateShadowEdgeViews];
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions