From 88bc287cc638938c25cef7761e9088a20db49b68 Mon Sep 17 00:00:00 2001 From: Fred Cox Date: Tue, 24 Feb 2015 16:51:24 +0200 Subject: [PATCH] Bug because iOS layoutSubviews super to be called Not able to reliably reproduce this but every so often iOS is crashing because [super layoutSubviews] is not called. --- SWRevealViewController/SWRevealViewController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SWRevealViewController/SWRevealViewController.m b/SWRevealViewController/SWRevealViewController.m index d378d13..bafaad7 100755 --- a/SWRevealViewController/SWRevealViewController.m +++ b/SWRevealViewController/SWRevealViewController.m @@ -205,6 +205,7 @@ - (void)dragFrontViewToXLocation:(CGFloat)xLocation - (void)layoutSubviews { + [super layoutSubviews]; if ( _disableLayout ) return; CGRect bounds = self.bounds;