UIScrollview with UIButtons - how to recreate springboard?

后端 未结 7 1537
鱼传尺愫
鱼传尺愫 2020-11-30 20:41

I\'m trying to create a springboard-like interface within my app. I\'m trying to use UIButtons added to a UIScrollView. The problem I\'m running in to is with the buttons no

7条回答
  •  我在风中等你
    2020-11-30 21:08

    UIScrollView handles a lot of events itself. You need to handle touchesDidEnd and hit test for buttons inside the UIScrollView manually.

提交回复
热议问题