Pass touch from UIScrollView to superview (UIButton)

后端 未结 3 480
囚心锁ツ
囚心锁ツ 2020-12-20 02:44

Possibly a duplicate, but I couldn\'t find an exact answer to my problem searching SO tonight...

I have a UIButton which contains a UIScrollView

3条回答
  •  生来不讨喜
    2020-12-20 03:08

    Usually you don't put scrollview within a button. Instead consider using a UIView as the superview of scrollview. Or tell us more about your use case, so I can understand why you have to design in this way.

提交回复
热议问题