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

Orientation Patch is incorrect #4

@diclophis

Description

@diclophis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions