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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -