UITableView default row height Xcode

J3012B

I want to program a table view, but there's a problem. If I set one or more Cells the height of the rows is correct, but when the table view contains no cells, the height of the rows is too low. How can I change the default row height?

dlanmaar

By using:

self.tableView.rowHeight = 80.0;

you should be able to set the row height, even when the table is empty.

Using

tableView:heightForRowAtIndexPath:

would not work in this case as it is only called when there is content to put into the Row.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

UITableView deleting row reduced table row height

From Dev

Set row height of a UITableView according to the cell in that row

From Dev

Dynamic UITableView row height using UIStackView?

From Dev

How to resize the UITableView row height in Objective C

From Dev

Accessing the Row Height in Dynamic UITableView Prototypes

From Dev

UITableView: automatically set height for the row and fix it with max height constant

From Dev

Custom View with dynamic Height as UITableView Header ios xcode

From Dev

iOS 8 UITableView first row has wrong height

From Dev

UITableView dynamic cell heights - reload height for single row

From Dev

iOS/Swift: Dynamic UITableViewCell row height with embedded UITableView not working

From Dev

Dynamic row height in UITableView using custom cell from xib

From Dev

How to resize the row height of a UITableView automatically in xamarin ios

From Dev

iOS 7/8 UITableView Cell: Two UILabels with dynamic height with auto layout for variable row height

From Dev

Can't change row height in Xcode 6 dynamic table

From Dev

UITableView height equal to contentSize height

From Dev

How to increase the single row height without reloading UITableView or individual cells [Swift]?

From Dev

Row Height of UITableView Custom Cell doesn't update, Swift iOS8

From Dev

Get UITableView cell height

From Dev

Auto Fit Height of UITableView

From Dev

Uitableview cell dynamic height

From Dev

Dynamic UITableView height

From Dev

Dynamic height of UITableview Issue

From Dev

Adjusting uitableview height

From Dev

Resizing UITableview height programmatically

From Dev

UITextview height in UITableview swift

From Dev

Auto Fit Height of UITableView

From Dev

UITableView ambiguous height

From Dev

Swift UITableView auto height

From Dev

Xcode - [UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:]: row (7) beyond bounds (0) for section (0).'

Related Related

  1. 1

    UITableView deleting row reduced table row height

  2. 2

    Set row height of a UITableView according to the cell in that row

  3. 3

    Dynamic UITableView row height using UIStackView?

  4. 4

    How to resize the UITableView row height in Objective C

  5. 5

    Accessing the Row Height in Dynamic UITableView Prototypes

  6. 6

    UITableView: automatically set height for the row and fix it with max height constant

  7. 7

    Custom View with dynamic Height as UITableView Header ios xcode

  8. 8

    iOS 8 UITableView first row has wrong height

  9. 9

    UITableView dynamic cell heights - reload height for single row

  10. 10

    iOS/Swift: Dynamic UITableViewCell row height with embedded UITableView not working

  11. 11

    Dynamic row height in UITableView using custom cell from xib

  12. 12

    How to resize the row height of a UITableView automatically in xamarin ios

  13. 13

    iOS 7/8 UITableView Cell: Two UILabels with dynamic height with auto layout for variable row height

  14. 14

    Can't change row height in Xcode 6 dynamic table

  15. 15

    UITableView height equal to contentSize height

  16. 16

    How to increase the single row height without reloading UITableView or individual cells [Swift]?

  17. 17

    Row Height of UITableView Custom Cell doesn't update, Swift iOS8

  18. 18

    Get UITableView cell height

  19. 19

    Auto Fit Height of UITableView

  20. 20

    Uitableview cell dynamic height

  21. 21

    Dynamic UITableView height

  22. 22

    Dynamic height of UITableview Issue

  23. 23

    Adjusting uitableview height

  24. 24

    Resizing UITableview height programmatically

  25. 25

    UITextview height in UITableview swift

  26. 26

    Auto Fit Height of UITableView

  27. 27

    UITableView ambiguous height

  28. 28

    Swift UITableView auto height

  29. 29

    Xcode - [UITableView _contentOffsetForScrollingToRowAtIndexPath:atScrollPosition:]: row (7) beyond bounds (0) for section (0).'

HotTag

Archive