Name: Anonymous 2010-12-18 23:09
Is this:
[[[UIApplication sharedApplication] keyWindow] addSubview:navView.view];
the best way to add a UINavigationController to the view hierarchy from inside a UIViewController. It seems a little odd OOP-wise. Also I can't seem to figure out how to do a UIView animation when switching the views because I'm not adding or removing a subview from the UIViewController that is calling this.
[[[UIApplication sharedApplication] keyWindow] addSubview:navView.view];
the best way to add a UINavigationController to the view hierarchy from inside a UIViewController. It seems a little odd OOP-wise. Also I can't seem to figure out how to do a UIView animation when switching the views because I'm not adding or removing a subview from the UIViewController that is calling this.