iOS-MagnifyingGlass
iOS-MagnifyingGlass copied to clipboard
Add a parent uiview for MagnifyingView to fix landscape issue.
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.
The loupe is on the superview, otherwise the loupe would be enlarging itself, resulting in some groovy effects you don't want :-)