Post

Replies

Boosts

Views

Activity

Adding WidgetKit to an app supporting SiriKit
If I want to support dynamic Widgets, Xcode should add an Intenthandler swift file. Since my app already supports custom intents via SiriKit, this file already exists in the SiriKit extension. This file has a switch statement in the handler function to call the respective IntentHandler if a specific Intent is called upon. Question is, where should I call the Widget Intenthandler? In the general Intenthandler where the other intents are handled or in a separate file? If it should be called in the general Intenthandler file, how should the dependencies of the targets look?
0
0
524
Jun ’20