UITextView.DataDetectorTypes Property

Definition

This property holds a value that determines what text in the document can be converted into clickable links.

[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

Property Value

The default value is E:UIKit.UIDataDetectorTypes.None

Attributes

Remarks

Setting this value to something other the E:UIKit.UIDataDetectorTypes.None will convert appropriate text (phone numbers, URLs, calendar events, and addresses) into clickable links. On clicking, the operating system will open the appropriate application to handle that type of link.

Applies to

See also