Share via


UIScrollView.ScrollsToTop 속성

정의

이면 true사용자가 상태 막대를 탭하면 스크롤 보기가 콘텐츠 맨 위로 이동합니다.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ScrollsToTop { [Foundation.Export("scrollsToTop")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setScrollsToTop:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.ScrollsToTop : bool with get, set

속성 값

기본값은 false

특성

설명

trueShouldScrollToTop 설정하고 를 반환true하는 경우 상태 막대에서 탭의 스크롤-탭 제스처가 콘텐츠 보기의 맨 위로 이동하여 이벤트를 실행합니다ScrolledToTop.

적용 대상

추가 정보