VMF_OpenLocationIn_Activity

class VMF_OpenLocationIn_Activity : VMF_Base_Activity

We can present a custom activity, that allows the user to open a location, using an installed app.

Enum That Transparently Handles A Location App

Base Class Overrides

  • The title string for this activity.

    Declaration

    Swift

    override var activityTitle: String? { get }
  • The template image for the activity line.

    Declaration

    Swift

    override var activityImage: UIImage? { get }
  • We have our own custom activity type.

    Declaration

    Swift

    override var activityType: UIActivity.ActivityType? { get }
  • Declaration

    Swift

    override func canPerform(withActivityItems: [Any]) -> Bool

    Parameters

    withActivityItems

    The activity items (ignored). We return true, if the app is installed.

  • This is the execution handler for the activity.

    Declaration

    Swift

    override func perform()