How can I add a tabular row like this Android app in an iOS application? It's the second row with integers. They need to be centered and equal in width.
Asked
Active
Viewed 257 times
1 Answers
0
iOS have custom table view cells. Like this:
You can use this type of cell in your tableview. While populating the table view just add your desired data in these labels. Hope this helps.. :)

Rashad
- 11,057
- 4
- 45
- 73
-
I am doing that but what control are the integers using? I want them centered and equal in width when expanded. – Mike Flynn Apr 24 '14 at 03:33
-
expand means orientation change? – Rashad Apr 24 '14 at 03:35
-
No if viewed in an ipad, the widths are equal. – Mike Flynn Apr 24 '14 at 03:37
-
@MikeFlynn You are looking for auto layout, which allows you to easily express the layout of your views – JustSid Apr 24 '14 at 03:40
-
1@mikeflynn > Here is a good example of auto layout http://stackoverflow.com/questions/18746929/using-auto-layout-in-uitableview-for-dynamic-cell-layouts-variable-row-heights – Rashad Apr 24 '14 at 03:47