ios - TableViews inside ScrollView Autolayout -
i trying create view contains many subviews , can contain many tableviews.
need enable scroll of subviews. created scroll view , put superview. put views inside scroll have lot of problems putting tableviews inside scroll using autolayout. dont want scroll inside tableviews, need enable clicks each tableview create. listen of suggestions how can create view.
a scrollview inside of scrollview hard handle. maybe it's worth redesign data model combine contents?
e.g. (assuming each table contains 2 labels)
- image -> row cell 0 of type or tableheader
- label -> row cell 1 of type b
- label -> row cell 2 of type b
- label -> row cell 3 of type b
- label -> row cell 4 of type b
- table 1 label 1 -> row cell 5 of type c
- table 1 label 2 -> row cell 6 of type c
- label -> row cell 7 of type b
- table 2 label 1 -> row cell 8 of type c
- table 2 label 2 -> row cell 9 of type c
- label -> row cell 10 of type b
- table 3 label 1 -> row cell 11 of type c
- table 3 label 2 -> row cell 12 of type c ...
- button -> row cell n of type d or tablefooter
now can fill table normal table without special solution.
Comments
Post a Comment