Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 如何以编程方式向下滚动UITable_Iphone_Xcode_Uitableview_Ios - Fatal编程技术网

Iphone 如何以编程方式向下滚动UITable

Iphone 如何以编程方式向下滚动UITable,iphone,xcode,uitableview,ios,Iphone,Xcode,Uitableview,Ios,我在用UITable实现泡泡聊天, 每次有人发布消息时,我都希望表格向下滚动。 是否可以使表格视图向下滚动? 我该怎么做?您可能想调用此方法: [self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:1] atScrollPosition:UITableViewScrollPositionTop animated:YES]; 很好,我也想得到这个。谢谢

我在用UITable实现泡泡聊天, 每次有人发布消息时,我都希望表格向下滚动。 是否可以使表格视图向下滚动?
我该怎么做?

您可能想调用此方法:

    [self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:1] atScrollPosition:UITableViewScrollPositionTop animated:YES];

很好,我也想得到这个。谢谢