version update

This commit is contained in:
tsanie committed 2021-07-29 10:02:05 +08:00
1 parent 23b1ad7512
commit 23202abd98
221 files changed
+11914 -3706

No files matched your search

@@ -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;
+4 -1
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
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.