uinavigationcontroller - Adopting a side menu in iOS app. View controllers structure issue -


i'm designing app intended have following navigation structure: need have welcome view "sign up" , "sign in" buttons of apps have:

iphone_welcome

this view not show navigation bar, seems common thing. if "sign in" tapped, login view presented modally:

iphone_signin

and if "sign up" tapped, welcome view navigates form requesting user input create account:

iphone_signup

then, once user logs in , enters app, i'd want have side menus similar facebook, youtube or spotify:

iphone_facebook

being central panel uinavigationcontroller. left side panel think 'uiviewcontroller'...

the point is, don´t know rootviewcontroller of app should be, , hierarchy of view controllers should have. i've thought couple of possibilities:

1) being rootviewcontroller uinavigationcontroller, push welcome view hidding navigation bar (is possible?), presenting "sign in" view if needed or pushing "sign up" view. once user has logged in, pop these views rootviewcontroller, uinavigationcontroller, , push in such navigation controller custom view controller managing side menu stuff.

2) being rootviewcontroller side menu custom view controller, , setting central panel uinavigationcontroller. push there welcome view , on, without setting view controller left/right panels, , when user has logged in, pop views central panel's uinavigationcontroller, push there corresponding view, , setting left/right panels

i hope i've explained myself. maybe there , better approach handle scenario. implemented app this? need issue, , i'll appreciate being recommended custom library/control providing side menu stuff has used 1 , easy use , customize. know there lots of them (mmdrawercontroller, jasidepanels, example), i'd have opinions people had developed app 1 of them.

note: need support ipad well, , ios 5+

thanks lot

i recommend have 2 main viewcontrollers, 1 login/signup , second 1 main content side menu. after user log in, change window rootviewcontroller second one.

for side menu can use:


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -