From 5ca54afd0d95dc2cfbdede632c00adf095ebbc42 Mon Sep 17 00:00:00 2001 From: Ryan Bertrand Date: Mon, 30 Mar 2015 19:56:25 -0700 Subject: [PATCH] Fix for iPad sizing If shown in a popover, then the view thinks it's width is 768. --- PhotoTweaks/PhotoTweaks/PhotoTweaksViewController.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PhotoTweaks/PhotoTweaks/PhotoTweaksViewController.m b/PhotoTweaks/PhotoTweaks/PhotoTweaksViewController.m index 78eda6f..f064416 100644 --- a/PhotoTweaks/PhotoTweaks/PhotoTweaksViewController.m +++ b/PhotoTweaks/PhotoTweaks/PhotoTweaksViewController.m @@ -40,7 +40,10 @@ - (void)viewDidLoad self.view.clipsToBounds = YES; self.view.backgroundColor = [UIColor photoTweakCanvasBackgroundColor]; - +} + +-(void)viewWillAppear:(BOOL)animated{ + [super viewWillAppear:animated]; [self setupSubviews]; }