Skip to content

Fix tapped bugs when make a scale transform for view#761

Open
devSC wants to merge 2 commits intonicklockwood:masterfrom
devSC:master
Open

Fix tapped bugs when make a scale transform for view#761
devSC wants to merge 2 commits intonicklockwood:masterfrom
devSC:master

Conversation

@devSC
Copy link

@devSC devSC commented Oct 24, 2016

No description provided.

@RomanVolkov
Copy link

Yes, this solution really works, thanks! I have custom transform which makes scalling to and subclassing + overrideing works

override func itemView(at point: CGPoint) -> UIView? { for v in self.visibleItemViews { if let view = v as? UIView, let superview = view.superview { if superview.frame.contains(point) { return view } } } return nil } 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants