0
可能な重複押す:
disable scrolling in a UITableView (iPhone SDK 3.0)ロックuitableのは
を私はボタンが押された後、uitableののスクロールをロックすることが可能であればお願いしたいですか?そのためのコードはありますか?
以下は私のコードです。私はUITAbleをスクロールして、ユーザーがもうスクロールできなくなります。
- (IBAction)export:(id)sender{
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
[self.tableView scrollToRowAtIndexPath:indexPath
atScrollPosition:UITableViewScrollPositionTop
animated:YES];
}