다음을 통해 공유


UITableViewDataSource.SectionIndexTitles(UITableView) 메서드

정의

테이블 뷰에 인덱스로 표시할 제목의 배열을 반환합니다.

[Foundation.Export("sectionIndexTitlesForTableView:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string[] SectionIndexTitles (UIKit.UITableView tableView);
abstract member SectionIndexTitles : UIKit.UITableView -> string[]
override this.SectionIndexTitles : UIKit.UITableView -> string[]

매개 변수

tableView
UITableView

인덱스가 표시되는 테이블 뷰입니다.

반환

String[]

예를 들어 사전순 목록을 표시하는 제목 배열은 "A"에서 "Z"로 문자열 배열을 반환합니다.

특성

설명

인덱스 목록은 테이블 뷰의 오른쪽 가장자리를 따라 나타납니다.

스타일이 있는 Plain 테이블만 이 속성을 구현해야 합니다.

적용 대상