다음을 통해 공유


UITextView.DataDetectorTypes 속성

정의

이 속성은 문서에서 클릭 가능한 링크로 변환할 수 있는 텍스트를 결정하는 값을 보유합니다.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIDataDetectorType DataDetectorTypes { [Foundation.Export("dataDetectorTypes")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setDataDetectorTypes:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.DataDetectorTypes : UIKit.UIDataDetectorType with get, set

속성 값

기본값은 E:UIKit.UIDataDetectorTypes.None입니다.

특성

설명

이 값을 UIKit.UIDataDetectorTypes.None 으로 설정하면 적절한 텍스트(전화 번호, URL, 일정 이벤트 및 주소)가 클릭 가능한 링크로 변환됩니다. 클릭할 때 운영 체제는 해당 유형의 링크를 처리하는 적절한 애플리케이션을 엽니다.

적용 대상

추가 정보