Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

UIButton in custom View in UIScrollView doesn't work

$
0
0

So the problem that I am having is pretty well explained here:

http://stackoverflow.com/questions/16649639/uibutton-does-not-work-when-it-in-uiscrollview

Which suggests to look at this solution:

http://stackoverflow.com/questions/11485100/allow-uiscrollview-and-its-subviews-to-both-respond-to-a-touch

The problem is that I am struggling to figure out the C#/Xamarin way to work around this. Essentially I have a UIScrollView that has 3 - 4 custom Views (all the same class type) in which each View has several buttons. I have User Ineraction Enabled checked off at every view. (This is where I just vent and say you know VB6 was able to get this stuff right...)

At any rate, ANY help on how I'd get my button Actions to fire? I'm not sure exactly how to implement the protocol solution mentioned in the second stack overflow answer.

Been banging my head on this for a while now...

JB


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>