I am utilizing a NavigationSplitView
to current a two-column view, with a sidebar and element content material on iPad, which is collapsed right into a single-column view on iPhone and when the app is utilized in Break up View and Slide Over.
I would prefer to model a few of the content material in my sidebar in a different way and reorganize a few of the content material relying on whether or not or not it is at the moment getting used as a sidebar alongside a element view, or if solely a single column is seen.
Studying the column visibility (NavigationSplitViewVisibility
) does not work, because it solely appears to replace in response to the person toggling the sidebar manually. The .computerized
mode is all the time set, no matter whether or not the sidebar is definitely seen in the mean time.