• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Custom UIView receiving no touch events?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Custom UIView receiving no touch events?
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: More Swift issues, NSURLComponents
  • Next by Date: Re: Custom UIView receiving no touch events?
  • Previous by thread: UIView rotate and cross-fade at the same time
  • Next by thread: Re: Custom UIView receiving no touch events?
  • Index(es):
    • Date
    • Thread