Menu

#636 Grouped table views

iphone_1.10
closed
None
5
2020-07-17
2020-06-21
No

We have implemented a work-around with regard to table views with stype grouped (UITableViewStyleGrouped), to avoid ugly empty space above and below the table.
See comment at +ViewUtils.createTableWithStyle.

Since iOS 13 they have added another stype (UITableViewStyleInsetGrouped) - with rounded edges.
Also we get a warning "[Warning] Warning once only: Detected a case where constraints ambiguously suggest a height of zero for a table view cell's content view. We're considering the collapse unintentional and using standard height instead. Cell: <descriptioncell: layer="&lt;CALayer:" clipstobounds="YES;" 0;="" frame="(0" 44);="" autoresize="W;" 345="" 0x7fe9fc531a40;="" 0x6000034dbb20="" baseclass="UITableViewCell;">>"
and the documentation says that height 0 is forbidden here.</descriptioncell:>

Investigate this in more detail and find a good solution.

Discussion

  • Christa Runge

    Christa Runge - 2020-07-17
    • assigned_to: Christa Runge
     
  • Christa Runge

    Christa Runge - 2020-07-17

    1) We prefer to stay with the "Grouped" layout because it uses the full width of the screen.
    2) Content view of description cell with height 0 was resolved:
    Fix a layout warning (table cell content view has height = 0). Christa Runge 15.07.20, 00:05 f51c084a
    Similar issues were resolved:
    Fix a layout warning (table cell content view has height = 0). ndegendogo 15.07.20, 22:50 4872e9c3
    Fix layout issue (table cell content view has height = 0). ndegendogo 15.07.20, 23:53 85b4d05b

     
  • Christa Runge

    Christa Runge - 2020-07-17
    • status: open --> closed
     

Log in to post a comment.