Here's a snippet of code:
wr is 768*1024, as it should be. vr, both before and after the transform, is 1216*1548.
Do you prefer tango or foxtrot? Or do you want to just drink whiskey all night?
It doesn't happen on iPhone, simulated or real.
Code:
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[self.window makeKeyAndVisible];
self.window.rootViewController = self;
CGRect wr = self.window.frame;
CGRect vr = self.view.frame;
vr = CGRectApplyAffineTransform(vr, vat);
wr is 768*1024, as it should be. vr, both before and after the transform, is 1216*1548.
Do you prefer tango or foxtrot? Or do you want to just drink whiskey all night?
It doesn't happen on iPhone, simulated or real.