1

I am trying to show the view from my storyboard when starting a workout in my app. But apparently I am doing something wrong because the view gets never loaded. I have put the INStartWorkoutIntent in the plists of both extensions but the func configure(with interaction: INInteraction!, context: INUIHostedViewContext, completion: ((CGSize) -> Void)!) method never gets called. Should I make some specific call so that the view shows? The resolve and handle method in the other extension get called.

surToTheW
  • 772
  • 2
  • 10
  • 34

1 Answers1

2

You cannot load custom UI for INStartWorkoutIntent as You can provide an Intents UI extension if you are supporting intents in the following domains: Messaging, Payments, Ride booking, Workouts.

take a look https://developer.apple.com/library/content/documentation/Intents/Conceptual/SiriIntegrationGuide/ProvidingaCustomInterface.html#//apple_ref/doc/uid/TP40016875-CH7-SW1

Naga Syam
  • 126
  • 4