Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,20 @@ public override void ViewDidLoad()
ShellFlyoutContentManager.ViewDidLoad();
}

public override void LoadView()
{
base.LoadView();
View = new AccessibilityNeutralTableView();
}

internal class AccessibilityNeutralTableView : UITableView, IUIAccessibilityContainer
{
public AccessibilityNeutralTableView()
{
this.SetAccessibilityContainerType(UIAccessibilityContainerType.None);
}
}

[System.Runtime.Versioning.SupportedOSPlatform("ios11.0")]
[System.Runtime.Versioning.SupportedOSPlatform("tvos11.0")]
public override void ViewSafeAreaInsetsDidChange()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#nullable enable
~override Microsoft.Maui.Controls.Platform.Compatibility.ShellFlyoutRenderer.ViewWillTransitionToSize(CoreGraphics.CGSize toSize, UIKit.IUIViewControllerTransitionCoordinator coordinator) -> void
override Microsoft.Maui.Controls.Platform.Compatibility.ShellTableViewController.LoadView() -> void
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#nullable enable
~override Microsoft.Maui.Controls.Platform.Compatibility.ShellFlyoutRenderer.ViewWillTransitionToSize(CoreGraphics.CGSize toSize, UIKit.IUIViewControllerTransitionCoordinator coordinator) -> void
override Microsoft.Maui.Controls.Platform.Compatibility.ShellTableViewController.LoadView() -> void
12 changes: 9 additions & 3 deletions src/Templates/src/templates/maui-mobile/AppShell.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,25 @@
Title="Dashboard"
Icon="{StaticResource IconDashboard}"
ContentTemplate="{DataTemplate pages:MainPage}"
Route="main" />
Route="main"
SemanticProperties.Description="Dashboard"
SemanticProperties.Hint="Navigate to dashboard"/>

<ShellContent
Title="Projects"
Icon="{StaticResource IconProjects}"
ContentTemplate="{DataTemplate pages:ProjectListPage}"
Route="projects" />
Route="projects"
SemanticProperties.Description="Projects"
SemanticProperties.Hint="Navigate to projects"/>

<ShellContent
Title="Manage Meta"
Icon="{StaticResource IconMeta}"
ContentTemplate="{DataTemplate pages:ManageMetaPage}"
Route="manage" />
Route="manage"
SemanticProperties.Description="Manage Meta"
SemanticProperties.Hint="Navigate to manage meta"/>

<Shell.FlyoutFooter>
<Grid Padding="15">
Expand Down
Loading