【问题标题】:IOS: drag and drop from a tableView VS scrollviewIOS:从tableView VS scrollview拖放
【发布时间】:2011-11-04 11:50:10
【问题描述】:

在我的应用程序中,我应该使用一些 imageViews 将它们拖放到其他位置;问题是我有 30 个 imageView,我应该把它们放在 scrollView 或 tableview 中,因为它们没有在我的第一个视图中全部输入。 那么我的问题是,将这些imageViews 放在scrollView 中还是tableview 中更好?

【问题讨论】:

  • 就我的经验而言,滚动视图会证明是更好的方法。

标签: ios xcode uitableview uiscrollview drag-and-drop


【解决方案1】:

通过使用 touches started,touchesmoved,touches ending 方法你可以做到这一点。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-10
    • 1970-01-01
    • 2012-03-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多