エントリーの編集
![loading...](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/common/loading@2x.gif)
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
UITableViewを行単位(セル)でスクロールさせる | Cyber Passion for iOS
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
![アプリのスクリーンショット](https://b.st-hatena.com/bdefb8944296a0957e54cebcfefc25c4dcff9f5f/images/v4/public/entry/app-screenshot.png)
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
UITableViewを行単位(セル)でスクロールさせる | Cyber Passion for iOS
プログラムからUITableViewを行単位でスクロールさせたいときは、以下のようにします。 下へスクロール... プログラムからUITableViewを行単位でスクロールさせたいときは、以下のようにします。 下へスクロールさせる NSIndexPath *indexPath = [_tableView indexPathForRowAtPoint:CGPointMake(0, _tableView.contentOffset.y + 1)]; if (indexPath) { indexPath = [NSIndexPath indexPathForRow:indexPath.row+1 inSection:indexPath.section]; [_tableView scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTop animated:YES]; } 上へスクロールさせる NSIndexPat