【问题标题】:UIPagecontrol and scrolling in swiftUIPagecontrol 和快速滚动
【发布时间】:2018-09-22 02:58:51
【问题描述】:

let jsonArray = [["name":"Trend Deals","location":"india","description":"welcome","price":"3345","dealstype":"BEST"," type":"KITCHEN","imageurl":""],["name":"Best deal","location":"india","description":"welcome","price":"Q78"," dealtype":"BEST","type":"KITCHEN1","imageurl":""],["name":"Not Best Deals","location":"india","description":"welcome", "price":"Q78","dealstype":"BEST","type":"KITCHEN3","imageurl":""]] as Array>

这是我的数据,所以计数是 3。 我需要以这样的方式显示数据...... ["name":"趋势交易","location":"india","description":"welcome","price":"3345","dealstype":"BEST","type":"KITCHEN", "imageurl":""] 应该显示在视图中然后滚动我需要显示第二个数据然后滚动我需要在视图中显示第三个数据。我还需要使用 pagecontrol。如何实现。

【问题讨论】:

  • 去读一些教程不要问怎么做。
  • 有人知道吗?

标签: ios


【解决方案1】:

【讨论】:

  • 我知道.....我得到了 uipageviewcontroller 但我想在 mvvm 方法中实现。我无法实现
猜你喜欢
  • 2019-01-11
  • 2011-02-23
  • 1970-01-01
  • 1970-01-01
  • 2015-12-11
  • 2017-05-30
  • 2014-12-14
  • 2016-12-15
  • 1970-01-01
相关资源
最近更新 更多