- Resizing shadow when viewVillLayout (fix for landscape right menu missing the shadow)

This commit is contained in:
Aryan Ghassemi 2014-01-05 15:21:32 -08:00
parent f32edb7041
commit 812f9b5838
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ static SlideNavigationController *singletonInstance;
CGRect rect = self.view.frame;
self.leftMenu.view.frame = rect;
self.rightMenu.view.frame = rect;
self.view.layer.shadowPath = [UIBezierPath bezierPathWithRect:self.view.bounds].CGPath;
}
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration