响应 UITableView 等手势的 UIStackView
UIStackView that responds gestures like UITableView
问题很简单,就是给水平stackView
添加手势,有tableview之类的手势。 Think of horizontal tableView
but also has certain stop points.(Avoiding view to stop any point.) 说得更清楚一点,A horizontal working tableView
具有手势特征(弹跳、滑动等)并且具有tableViewCell
的大小与 UIWindow
的大小相同。最后让我们滑动之后不能停在同时显示2cell
的点上。我希望这很清楚。
制作背景的目的是在 Login
页面中向人们介绍该应用程序。我认为 stackView
最适合这份工作,但如果您有更好的方法,请告诉我。
我认为您正在寻找 UIPageViewController 而不是使用 stackView。可以在此处找到很棒的教程:https://spin.atomicobject.com/2015/12/23/swift-uipageviewcontroller-tutorial/
我不确定 "A horizontal working tableView" 是什么意思,但是如果您正在寻找可以上下滚动的 PageViewController,请查看:https://github.com/stefanceriu/SCPageViewController 您可以用它做更多的事情。
问题很简单,就是给水平stackView
添加手势,有tableview之类的手势。 Think of horizontal tableView
but also has certain stop points.(Avoiding view to stop any point.) 说得更清楚一点,A horizontal working tableView
具有手势特征(弹跳、滑动等)并且具有tableViewCell
的大小与 UIWindow
的大小相同。最后让我们滑动之后不能停在同时显示2cell
的点上。我希望这很清楚。
制作背景的目的是在 Login
页面中向人们介绍该应用程序。我认为 stackView
最适合这份工作,但如果您有更好的方法,请告诉我。
我认为您正在寻找 UIPageViewController 而不是使用 stackView。可以在此处找到很棒的教程:https://spin.atomicobject.com/2015/12/23/swift-uipageviewcontroller-tutorial/
我不确定 "A horizontal working tableView" 是什么意思,但是如果您正在寻找可以上下滚动的 PageViewController,请查看:https://github.com/stefanceriu/SCPageViewController 您可以用它做更多的事情。