TabbedPage 栏故障
TabbedPage bar glitch
当我从 Xamarin.Forms 中的另一个 TabbedPage 打开 TabbedPage 时 iOS,底部栏的右侧部分有那个奇怪的 glitch/blink。有解决办法吗?
可能需要重新考虑您正在开发的应用的用户体验。嵌套选项卡不直观且非常混乱,除了您可以 运行 进入的技术问题外,这里是 official Xamarin.Forms docs:
的注释摘要
It's recommended that a TabbedPage should be populated with
NavigationPage and ContentPageinstances only. This will help to ensure
a consistent user experience across all platforms.
The TabbedPage does not support UI virtualization. Therefore,
performance may be affected if the TabbedPage contains too many child
elements.
While it's acceptable to place a NavigationPage into a TabbedPage,
it's not recommended to place a TabbedPage into a NavigationPage. This
is because, on iOS, a UITabBarController always acts as a wrapper for
the UINavigationController. For more information, see Combined View
Controller Interfaces in the iOS Developer Library.
当我从 Xamarin.Forms 中的另一个 TabbedPage 打开 TabbedPage 时 iOS,底部栏的右侧部分有那个奇怪的 glitch/blink。有解决办法吗?
可能需要重新考虑您正在开发的应用的用户体验。嵌套选项卡不直观且非常混乱,除了您可以 运行 进入的技术问题外,这里是 official Xamarin.Forms docs:
的注释摘要It's recommended that a TabbedPage should be populated with NavigationPage and ContentPageinstances only. This will help to ensure a consistent user experience across all platforms.
The TabbedPage does not support UI virtualization. Therefore, performance may be affected if the TabbedPage contains too many child elements.
While it's acceptable to place a NavigationPage into a TabbedPage, it's not recommended to place a TabbedPage into a NavigationPage. This is because, on iOS, a UITabBarController always acts as a wrapper for the UINavigationController. For more information, see Combined View Controller Interfaces in the iOS Developer Library.