次の方法で共有


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 です

属性

注釈

この値を E:UIKit.UIDataDetectorTypes.None に 設定すると、適切なテキスト (電話番号、URL、予定表イベント、アドレス) がクリック可能なリンクに変換されます。 クリックすると、オペレーティング システムによって適切なアプリケーションが開き、その種類のリンクが処理されます。

適用対象

こちらもご覧ください