0

I want to create a Sidebar for my iPad application. But I can't find how to create a Section with NSCollectionLayoutSection. What is INSCollectionLayoutEnvironment of Create method?

public static NSCollectionLayoutSection GetSection(UICollectionLayoutListConfiguration listConfiguration, INSCollectionLayoutEnvironment layoutEnvironment);

Thank you!

Amine
  • 1,198
  • 11
  • 19
  • You could refer to this [Apple Developer Documentation](https://developer.apple.com/documentation/uikit/nscollectionlayoutenvironment?language=objc). **layout environment** provide information about the layout’s container, the traits of its environment, and user interface idiom. – Liqun Shen-MSFT Oct 28 '22 at 07:59

0 Answers0