C# Class Restaurant.iOS.Renderers.ThemedNavigationRenderer

This custom NavigationRender is only necessary on iOS so we can change the navigation bar color *prior* to navigating instead of after Forms currently doesn't give us a lifecycle event before the navigation takes place This isn't an issue on Android
Inheritance: Xamarin.Forms.Platform.iOS.NavigationRenderer
Show file Open project: Jurabek/Restaurant

Public Methods

Method Description
PopViewController ( bool animated ) : UIViewController
PreferredStatusBarStyle ( ) : UIStatusBarStyle
ViewWillAppear ( bool animated ) : void

Protected Methods

Method Description
OnPushAsync ( Page page, bool animated ) : Task

Private Methods

Method Description
ChangeTheme ( Page page ) : void

Method Details

OnPushAsync() protected method

protected OnPushAsync ( Page page, bool animated ) : Task
page Xamarin.Forms.Page
animated bool
return Task

PopViewController() public method

public PopViewController ( bool animated ) : UIViewController
animated bool
return UIViewController

PreferredStatusBarStyle() public method

public PreferredStatusBarStyle ( ) : UIStatusBarStyle
return UIStatusBarStyle

ViewWillAppear() public method

public ViewWillAppear ( bool animated ) : void
animated bool
return void