1

I read somewhere that Siri Shortcuts will change in IOS 13.
Does anyone know if they made changes in Swift with Siri Shortcuts Deep Links?
Now in ios 12 i made a function:

func run(shortcutName: String) {
        let url = URL(string: shortcutName)!
        UIApplication.shared.open(url,
                                  options: [:],
                                  completionHandler: nil)
    }

And to use this i simply call run(shortcutName: shortcutNameString)

Does anyone know if this code will work and run a shortcut on IOS 13?

Nico S.
  • 3,056
  • 1
  • 30
  • 64
Sipos Péter
  • 119
  • 1
  • 11

1 Answers1

1

Yes you can! Use this URL scheme: shortcuts://run-shortcut?name=SHORTCUT%20NAME%20HERE

Nico S.
  • 3,056
  • 1
  • 30
  • 64