iphone - How can I make a UINavigationController that is not full screen in width? -


i trying implement facebook style behind-view menu navigation pattern (using viewdeck) , having trouble making navigationcontroller behind main view less wide width of screen.

being there still overlay main view, need navcontroller 276 pts wide. means right side of navcontroller flush against ledge of partially visible main viewcontroller.

how can narrow navcontroller purposes of drilling views when behind main view? possible? have tried far makes navigationbar full screen.

edit 1: testing pkrevealcontroller:

enter image description here

as can see, text goes of screen , can't see end of it. if toggle ledge bit can see behind-view navbar goes way edge.

its possible create uinavigationcontroller less width of view contained within. had quick @ library using , seems frame of each subview set size of window, offset amount left or right (see functions referencebounds, centerviewbounds , sideviewbounds)

to change navigation controller visible need change origin same , width 276.0f, think need modify sideviewbounds method return smaller cgrect


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -