version update

This commit is contained in:
2021-07-29 10:02:05 +08:00
parent 23b1ad7512
commit 23202abd98
221 changed files with 11914 additions and 3706 deletions

View File

@ -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;

View File

@ -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;
}

View File

View File

0
Pixiview.iOS/Renderers/BlurryPanelRenderer.cs Normal file → Executable file
View File

0
Pixiview.iOS/Renderers/CardViewRenderer.cs Normal file → Executable file
View File

0
Pixiview.iOS/Renderers/CircleImageRenderer.cs Normal file → Executable file
View File

0
Pixiview.iOS/Renderers/HybridWebViewRenderer.cs Normal file → Executable file
View File

0
Pixiview.iOS/Renderers/OptionEntryRenderer.cs Normal file → Executable file
View File

0
Pixiview.iOS/Renderers/OptionPickerRenderer.cs Normal file → Executable file
View File

0
Pixiview.iOS/Renderers/RoundImageRenderer.cs Normal file → Executable file
View File

0
Pixiview.iOS/Renderers/RoundLabelRenderer.cs Normal file → Executable file
View File

0
Pixiview.iOS/Renderers/SegmentedControlRenderer.cs Normal file → Executable file
View File