Custom UIView receiving no touch events?

2015-10-06 Thread Eric E. Dolecki
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

Re: Custom UIView receiving no touch events?

2015-10-06 Thread Quincey Morris
On Oct 6, 2015, at 16:48 , Eric Dolecki wrote: > > I had a UI view on the storyboard and set its class to my custom UI view > class. Init with coder fired and I set my UI from there. However doing so > produced dead controls. Does one need to call a method to get around

Re: Custom UIView receiving no touch events?

2015-10-06 Thread Eric Dolecki
Oops about the off list. I ended up just doing an Init with frame and then brought existing storyboard views up in the view hierarchy. The only reason I wanted to assign the class to an existing view on the storyboard was because I could ensure the z-order visually.  Sent from Outlook On

Re: Custom UIView receiving no touch events?

2015-10-06 Thread Quincey Morris
On Oct 6, 2015, at 13:25 , Eric E. Dolecki wrote: > > Off-screen I have a custom UIView that has a UIScrollView in it. What’s the parent view of the custom view? If it’s not in the view hierarchy underneath the UIWindow, then it’s not going to get any events.