
Hi,
How to write method for UITableView heightForRowAtIndexPath?
Thanks

Hi,
Here is the code example:
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
//for hight
if (indexPath.row==0) {
return 70;
}else {
return 30;
}
}
Thanks

Hi,
With the help of above code you can set the hight of your table cell.
Thanks

Hi,
With the help of above code you can set the hight of your table cell.
Thanks

Hi,
With the help of above code you can set the hight of your table cell.
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.