Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a parent uiview for MagnifyingView to fix landscape issue. #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xmkevin
Copy link

@xmkevin xmkevin commented May 5, 2014

It took me hours to find out that the loupe is added to superview, therefore the loupe position is not correct in landscape mode.

[self.superview addSubview:magnifyingGlass];

Add a parent UIView for the magnifying view to fix this issue.

@vanderneut
Copy link

The loupe is on the superview, otherwise the loupe would be enlarging itself, resulting in some groovy effects you don't want :-)

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

Successfully merging this pull request may close these issues.

2 participants