Skip to content

Commit

Permalink
Bug because iOS layoutSubviews super to be called
Browse files Browse the repository at this point in the history
Not able to reliably reproduce this but every so often iOS is crashing because [super layoutSubviews] is not called.
  • Loading branch information
mcfedr committed Apr 28, 2015
1 parent dcbee00 commit 88bc287
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SWRevealViewController/SWRevealViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ - (void)dragFrontViewToXLocation:(CGFloat)xLocation

- (void)layoutSubviews
{
[super layoutSubviews];
if ( _disableLayout ) return;

CGRect bounds = self.bounds;
Expand Down

0 comments on commit 88bc287

Please sign in to comment.