ios - Using 2 UITableView instead of UISplitView -


i developing simple ipad application. have array of category objects, , each category object holds array of item objects related category. want show categories on left of screen (in uitableview), , whenever category object selected, want display corresponding item objects (from array of category object) on right (in uitableview).

i looked around way design it, , find uisplitview offers need. however, observed using uisplitview along tabbarcontroller painful. on other hand, couldn't find disadvantage using 2 uitableviews. so, in case, there reason use uisplitview instead of 2 uitableviews attached on each other? or is there drawbacks use 2 uitableviews instead of uisplitview?

note want use application in landscape mode, don't need popup thing (see image) or allows me hide/unhide when orientation portrait.

portrait mode

i think better if use splitviewcontroller way implemented in ipad mail stock app. there button on detailviewcontroller hides , unhides when tapped , rid of popoverviewcontroller.

check out questions on stackoverflow here , here. watch video tutorial on vimeo here show how implement it.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -