Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Orientation Patch is incorrect #4

Open
diclophis opened this issue Sep 15, 2009 · 0 comments
Open

Orientation Patch is incorrect #4

diclophis opened this issue Sep 15, 2009 · 0 comments

Comments

@diclophis
Copy link

I think something is fishy with the code around line: 125 in ZoomScrollView.m

if (UIDeviceOrientationIsLandscape([UIDevice currentDevice].orientation)) {
    scrollViewSize = CGSizeMake(scrollViewSize.height, scrollViewSize.width);
}

Only when I comment it out do I get the expected result... note that I am setting the device orientation only in the Info.plist... not in code.

I will come up with a test soon to exemplify the weirdness, I just wanted to post this asap to see if anyone else have this same problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant