From 0e20e282440c4ab51eee777361f36bc9f48efa59 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sat, 12 Sep 2015 05:38:17 +0200 Subject: [PATCH] (iOS) Implement heightForRowAtIndexPath --- ui/drivers/cocoa/cocoatouch_menu.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/drivers/cocoa/cocoatouch_menu.m b/ui/drivers/cocoa/cocoatouch_menu.m index 0c1dfdf317..e6e3c148c1 100644 --- a/ui/drivers/cocoa/cocoatouch_menu.m +++ b/ui/drivers/cocoa/cocoatouch_menu.m @@ -568,6 +568,11 @@ titleForHeaderInSection:(NSInteger)section return [[self itemForIndexPath:indexPath] cellForTableView:tableView]; } +- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath +{ + return UITableViewAutomaticDimension; +} + - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {