.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,977 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am trying to implement the ipados sidebar code with the new .net 6 core ios and the below code always returns null
public override void ViewDidLoad()
{
base.ViewDidLoad();
var config = new UICollectionLayoutListConfiguration(UICollectionLayoutListAppearance.Sidebar);
config.HeaderMode = UICollectionLayoutListHeaderMode.None;
config.HeaderMode = UICollectionLayoutListHeaderMode.FirstItemInSection;
var layout = UICollectionViewCompositionalLayout.GetLayout(config); // <--- this will always return null, why?
}