Is is possible to start an audio recording from a Widget?

Hey,

I've been trying to start an audio recording from an intent started from a widget in iOS 17.

However every time I run audioRecorder.record() it just returns false.

Is it generally possible to start an audio recording from a widget's intent?

In the simulator this actually worked, but on device it would not start the recording.

Would love to get any pointers to what might be required to make this work.

Does it possible? Can we record audio from widget? If yes, can you please explain

Is is possible to start an audio recording from a Widget?
 
 
Q