iphone - Which ViewController Concept to use? -


i need following view layout in application.

the green view viewport of ios application.

on top (the blue ones) views should swipeable left , right 1 view (different content) visible @ time. views should snap in place if swipe.

under this, there more views arranged horizontally (the orange ones). should snap in place (always centered 1 view in grey section) after swiping. here more 1 view visible @ time.

there concepts pageviewcontroller, uiscrollview, uicollectionview , one.

which 1 choose this?

also idea add subviewcontrollers layout? controller each of scroll views?

thanks in advance.

enter image description here

for top go 3 uiviewcontroller's uiview (depending on complexity of objects). if simple things add 3 uiview's , and handle logic in same uiviewcontroller. either putting 3 inside uiscrollview (with pagingenabled) or handling gestures both valid possibilities. botton uiviews (orange) uicollectionview (so handle memory you). uiscrollview botton, work, if have many can have performance issues.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -