Custom UIView receiving no touch events?
Custom UIView receiving no touch events?
- Subject: Custom UIView receiving no touch events?
- From: "Eric E. Dolecki" <email@hidden>
- Date: Tue, 06 Oct 2015 20:25:26 +0000
I have a Storyboard - UIView with view controller - simple UITableView in
it wth some UIScrollViews in cells. Works great.
Off-screen I have a custom UIView that has a UIScrollView in it. Upon a
button press, I animate it over the main view. It receives no events - the
UIScrollView in the top view won't scroll even though it's set up correctly
with contentSize. If I put a button in the custom view, it receives no
events. It's like the whole UIView is dead. Events pass through... if I
animate into a position where I can see the view below, I can see that
table view and scrollviews working.
Do I need to do something to the response chain? I'd love my custom UIView
to consume all events (no pass through). I've tried applied userInteraction
= false for the UIView background, a huge button under that does nothing,
etc.
Looks for some sage advice.
Thanks,
Eric
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden