A
A
Alexander Tikhonov2016-02-24 20:34:53
Objective-C
Alexander Tikhonov, 2016-02-24 20:34:53

How to make such a TableView?

At first glance, it looks like a simple TableView with Style == .Grouped, but how to make the content fit on the screen on different devices and there is no need to scroll (empty space in the center shrinks). So far, I see 2 options: 1st, empty space in the middle to represent as empty cells, depending on which device the application is running on, count the height of the content and use this data to determine this number of empty cells. 2nd Just use two different tableView one on top, another on bottom. 3rd ???.
007c0a4eec794b7a9197d8a1c15416b8.PNG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
An, 2016-02-24
@tikhonov666

You just need to specify the footer for each section as an empty tall view. But IMHO, this is better to type without a table using custom uibuttons + uistackview
It will be faster and easier (especially if you use IB

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question