getRowNum.m
- (NSInteger)getRowNum:(UITableView *)tableView
{
NSUInteger allRows = 0;
for (NSInteger i = 0; i < [tableView numberOfSections]; i++) {
allRows += [tableView numberOfRowsInSection:i];
}
return allRows;
}
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
- (NSInteger)getRowNum:(UITableView *)tableView
{
NSUInteger allRows = 0;
for (NSInteger i = 0; i < [tableView numberOfSections]; i++) {
allRows += [tableView numberOfRowsInSection:i];
}
return allRows;
}
Register as a new user and use Qiita more conveniently
Go to list of users who liked