IntentShortcutDonationFeature
public final class IntentShortcutDonationFeature : ConditionalFeature
The IntentShortcutDonation feature will automatically register shortcuts for actions that support intents. Any action that returns a non-nil intent for a given input will be automatically registered.
-
Declaration
Swift
public static var description: String -
Declaration
Swift
public static func constraints(requirements: FeatureConstraintsBuilder) -
Set this to
falseto disable automatic intent donation -
Declaration
Swift
public static var isEnabled: Bool? -
Declaration
Swift
public static func prepare(actions: FeatureActionsBuilder)
View on GitHub
IntentShortcutDonationFeature Class Reference