I know there are multiple threads about this but none of the solutions have worked for me. I have a TableView
in my iOS
app that is populated with a plist
that contains about 70 cells. In my Storyboard
I have scrolling enabled, bounces, and bounces vertically but the list does not scroll past the 6th or 7th cell. Is there a setting in the Storyboard that I am missing or should something go in the .m file?
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return plistItems.count;
}
If you are trying to scroll in stimulator. You Need to scroll with 3 fingers. Hope this works for you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.