Attempting to `viewDidLoad-Embed` a subclass of UINavigationController in a container view using AutoLayout

Hello!
TARGET :
To achieve this .

APPROACH :
+ Read about Container views
+ Found + Thought about mixing like in one GLITCH : The above Third Party ( ) is basically a child , manipulating and , and so what I'm trying to achieve here ... is that this NavController embedded in . RESULT : This, however, does not work and shows a black container where I am . MENTIONED : For me, however, it is useless: +RKSwipeBetweenViewControllers


RKSwipeBetweenViewControllersUINavigationControllerUIPageViewControllerUIScrollViewContainer View


viewDidLoad-embedding RWSwipeViewControllers



Embedding a navigation controller in a container - C
+ iOS target - NavController and custom views


Quick help is welcome, please. Thank!

+4
source share
1 answer

Basically, just add the ViewController to the UINavigationController and set the UINavigationController as your rootViewController. Hope this helps:

ViewController *vc = [[ViewController alloc] init];

UINavigationController *nvc = [[UINavigationController alloc] initWithRootViewController:vc];

self.window.rootViewController = nvc;

or more

, , : * , , * , * - > In- > Navigation . * .

- C

0

All Articles