UIScrollview with UIButtons - how to recreate springboard?

后端 未结 7 1532
鱼传尺愫
鱼传尺愫 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:09

    Another way is:
    1. Substitute de button by a simple custom UIView
    2. Put the flag "userInterationEnable = yes;" on the init method
    3. In the view override the UIResponder method "touchesEnded" here you can trigger the action you need like a button.

    0 讨论(0)
提交回复
热议问题