Compartir a través de


UITextView.DataDetectorTypes Propiedad

Definición

Esta propiedad contiene un valor que determina qué texto del documento se puede convertir en vínculos en los que se puede hacer clic.

[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

Valor de propiedad

El valor predeterminado es E:UIKit.UIDataDetectorTypes.None

Atributos

Comentarios

Si establece este valor en otro valor, E:UIKit.UIDataDetectorTypes.None convertirá el texto adecuado (números de teléfono, direcciones URL, eventos de calendario y direcciones) en vínculos en los que se pueden hacer clic. Al hacer clic, el sistema operativo abrirá la aplicación adecuada para controlar ese tipo de vínculo.

Se aplica a

Consulte también