tableview不会在swift中滚动到底部

时间:2016-02-27 21:19:57

标签: swift scroll tableview landscape portrait

我正在使用

 if myArray.count >  1 {

                self.tableView.scrollToRowAtIndexPath(NSIndexPath(forRow: myArray.count - 1, inSection: 0), atScrollPosition: UITableViewScrollPosition.Bottom, animated: false)
            }

这会将我的纵向视图设置到表格的底部。但它在横向视图中不起作用。方向设置为全部             肖像             上下翻转             土地景观离开了             和景观权利 如果仅设置横向模式,问题仍然存在。

0 个答案:

没有答案