tableView加載出來默認(rèn)選中某一行:(默認(rèn)第一行)
//設(shè)置選中第一行(默認(rèn)有藍(lán)色背景)
[self.tableView selectRowAtIndexPath:[NSIndexPath indexPathForItem:0 inSection:0] animated:YES scrollPosition:UITableViewScrollPositionTop];
---------------------------------分割線----------------------------------
tableView加載出來后默認(rèn)點(diǎn)擊某一行:(默認(rèn)第一行)
//實(shí)現(xiàn)點(diǎn)擊第一行所調(diào)用的方法
[self tableView:self.tableView didSelectRowAtIndexPath:[NSIndexPath indexPathForItem:0 inSection:0]];