Can anyone explain how to get these methods to work?
They compile fine but they don’t do anything.
I want to have my tableView scroll so that my keyboard fits nicely.
The solutions posted for this problem are resetting contentSizes and subscribing to NSNotfication. These three methods look like they should do what I’m looking for but nothing happens.
[self.myTable setContentOffset:CGPointMake(0, -100) animated:YES];
[self.myTable selectRowAtIndexPath:indexPath animated:YES scrollPosition:UITableViewScrollPositionTop];
[self.myTable scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTop animated:YES];
You can use
setFrameto make the size of the UITableView half the size of the screen.