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];
}
}
I've had an error similar to the following pop up a few times because
OUIScalingViewControllerlayoutSubViews doesn't call super:This is an issue when using an OUIScalingView subclass in a xib or storyboard that has autolayout turned on.