ios - I have a button inside a View, Inside a Scroll View, Inside a View. I cant click it -


it's not registering click, what's wrong?

there's button inside view, inside scroll view, inside view. , it's displaying properly

so container view contains scroll view, , scroll view contains content view, , contentview contains button.

try changing "user interaction enabled" property on of layers. in interface builder, it's checkbox in "view" section. views, scrollview, , button have them.

enter image description here

given how complex situation (and fact layers, scrollview, need respond touches), can't off top of head configuration need, i've had similar problems , solution.

basically, app thought touching view rather button inside it, turning off "user interaction enabled" view made app realize trying touch button.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -