Slava Semeniuk
Slava Semeniuk

Reputation: 156

What is completionHandler at performActionFor shortcutItem for?

func application(_ application: UIApplication, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler: @escaping (Bool) -> Void)

I'm doing the UIApplicationShortcutIcon functionality in my app. I'm clearly understand that i should сall the completionHandler after shortcutItem was handled. But how the calling of completionHandler with true or false reflects on the app?

Upvotes: 3

Views: 429

Answers (0)

Related Questions