hachinoBlog

hachinobuのエンジニアライフ

2012-03-21から1日間の記事一覧

画面表示時に指定したセルの位置を初期表示させる

該当のセルまでスクロールさせる方法。 NSIndexPath *indexpath = [NSIndexPath indexPathForRow:5 inSection:0]; //該当のセクションと行指定 [aTableView scrollToRowAtIndexPath:indexpath atScrollPosition:UITableViewScrollPositionTop animated:NO];a…