I am facing issue with xamarin.ios UI Design. I am trying to design, inside tableview different size of cell height .
How to calculate cell height based content . Pls reply ASPS
In your Table's Source class, use
public override float GetHeightForRow (UITableView tableView, MonoTouch.Foundation.NSIndexPath indexPath)
to determine the height of each cell. How you figure out how tall a cell should be will depend on the design of your cell and what data you're placing inside of it.
try like this
public override float GetHeightForRow(UITableView tableView, NSIndexPath indexPath)
{
return yourHeight;
}
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.