In the FlyoutNavigationSample app, the nav bar height does not shrink/grow when the iPhone is rotated to/from landscape orientation. The nav bar behavior can be corrected by introducing the concept of a "target view controller" and changing the FlyoutNavigationController as follows:
Add the gesture recognizer to the target controller, rather than the flyout controller.
In NavigationItemSelected, add the selected controller (and its View) to the target controller (and its View). E.g.,
In the FlyoutNavigationSample app, the nav bar height does not shrink/grow when the iPhone is rotated to/from landscape orientation. The nav bar behavior can be corrected by introducing the concept of a "target view controller" and changing the FlyoutNavigationController as follows:
In NavigationItemSelected, add the selected controller (and its View) to the target controller (and its View). E.g.,
this.TargetViewController.View.AddSubview (mainView); this.TargetViewController.AddChildViewController (CurrentViewController);