version update
This commit is contained in:
@ -89,7 +89,9 @@ namespace Pixiview.iOS.Renderers
|
||||
}
|
||||
if (Element is AdaptedPage page)
|
||||
{
|
||||
AppShell.Current?.SetStatusBarHeight(UIApplication.SharedApplication.StatusBarFrame.Height);
|
||||
AppShell.Current?.SetStatusBarHeight(
|
||||
NavigationController.NavigationBar.Frame.Height,
|
||||
UIApplication.SharedApplication.StatusBarFrame.Height);
|
||||
var landscape =
|
||||
lastOrientation == UIDeviceOrientation.LandscapeLeft ||
|
||||
lastOrientation == UIDeviceOrientation.LandscapeRight;
|
||||
|
@ -12,6 +12,7 @@ namespace Pixiview.iOS.Renderers
|
||||
{
|
||||
public class AppShellRenderer : ShellRenderer
|
||||
{
|
||||
|
||||
public override bool PrefersHomeIndicatorAutoHidden => Screen.GetHomeIndicatorAutoHidden(Element);
|
||||
|
||||
protected override IShellSectionRenderer CreateShellSectionRenderer(ShellSection shellSection)
|
||||
@ -20,7 +21,9 @@ namespace Pixiview.iOS.Renderers
|
||||
if (renderer is ShellSectionRenderer sr && Element is AppShell shell)
|
||||
{
|
||||
shell.SetNavigationBarHeight(sr.NavigationBar.Frame.Height);
|
||||
shell.SetStatusBarHeight(UIApplication.SharedApplication.StatusBarFrame.Height);
|
||||
shell.SetStatusBarHeight(
|
||||
sr.NavigationBar.Frame.Height,
|
||||
UIApplication.SharedApplication.StatusBarFrame.Height);
|
||||
}
|
||||
return renderer;
|
||||
}
|
||||
|
0
Pixiview.iOS/Renderers/AppShellSection/AppAppearanceTracker.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/AppShellSection/AppAppearanceTracker.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/AppShellSection/AppShellSectionRootHeader.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/AppShellSection/AppShellSectionRootHeader.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/BlurryPanelRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/BlurryPanelRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/CardViewRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/CardViewRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/CircleImageRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/CircleImageRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/HybridWebViewRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/HybridWebViewRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/OptionEntryRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/OptionEntryRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/OptionPickerRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/OptionPickerRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/RoundImageRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/RoundImageRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/RoundLabelRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/RoundLabelRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/SegmentedControlRenderer.cs
Normal file → Executable file
0
Pixiview.iOS/Renderers/SegmentedControlRenderer.cs
Normal file → Executable file
Reference in New Issue
Block a user