以下の内容はhttps://anton0825.hatenablog.com/entry/20120525/1338967886より取得しました。


UITableViewの選択するセルをプログラムから操作するときの注意点

プログラムから先頭のセルを選択したい、という場合、以下のようにする。

[self.currentTableViewController.tableView selectRowAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0] animated:NO scrollPosition:UITableViewScrollPositionTop];

[NSIndexPath indexPathWithIndex]をつかうとエラーになるので注意。




以上の内容はhttps://anton0825.hatenablog.com/entry/20120525/1338967886より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14