title: How can i force UIViewControllers to load with my custom UIWindows frame size?
body: <p>Because my App makes use of hardware the simulators just don't do it. (no Bluetooth, no proper GPS)</p>
  
  <p>My layouts adapt to the resolution, but as we all know, an iPad has less width as an iPhone. I have an iPad mini 2 here to test the App but i would like to enforce the resolution to an iPhone6 equivalent.</p>
  
  <p>I can try to set the UIWindow to (576, 1024) but every UIViewController loads with a self.view.frame of the original resolution.</p>
  
  <p>It is way too much work to go into every ViewController and manually give it a different frame, thats why i would like to force the App into a UIWindow.</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  
  self.window = [[UIWindow alloc] initWithFrame:CGRectMake(0, 0, 576, 1024)];
  
  // ViewController will have a frame of (0, 0, 768, 1024)
  UIViewController *myVC = [[UIViewController alloc] init];
  self.window.rootViewController = myVC;
  
  [self.window makeKeyAndVisible];
  
  return YES;
  }
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>basically i want to mock a different screen size from the beginning (start) of the app. I don't mind black bars on the (real) screen as it is only to test/debug/confirm layouts on different aspect ratios.</p>