UICollectionViewDataSource.GetIndexTitles(UICollectionView) 方法

定义

请求指定集合视图中项的索引标题。

[Foundation.Export("indexTitlesForCollectionView:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string[] GetIndexTitles(UIKit.UICollectionView collectionView);
abstract member GetIndexTitles : UIKit.UICollectionView -> string[]
override this.GetIndexTitles : UIKit.UICollectionView -> string[]

参数

collectionView
UICollectionView

发起请求的集合视图。

返回

String[]
属性

适用于