Contents

IntentVisibility

A value that configures how a property is available to system features, such as Siri and Shortcuts, if at all.

Declaration

struct IntentVisibility

Overview

System features such as Siri and Shortcuts list an app entity’s properties to people and to the model when you apply the default option. However, you can limit a property’s visibility to just your app and its extensions by applying the internal option. For example, apps typically apply this option to properties with sensitive information.

struct Contact: AppEntity {
    @Property(title: "Tax ID", visibility: .internal)
    var taxID: String
}

Topics

Type Properties

See Also

Tool support