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 Feb 24, 2015
1 parent 09422d4 commit c989c1f
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 @@ -191,6 +191,7 @@ - (void)dragFrontViewToXLocation:(CGFloat)xLocation

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

CGRect bounds = self.bounds;
Expand Down

0 comments on commit c989c1f

Please sign in to comment.