Camera Capture Extension with AVMultiCamPiP

I am using AVMulti so the user captures two images how can I access those images if there is only one url that stores the captured images for the lockScreenCapture extension ? Plus how can I detect if the user opened the app from the extension to be able to navigate the user to the right screen ?

Hello @EngOmarElsayed,

The sessionConentURL is a path to a directory, you can store multiple captured images in that directory.

When you want the user to open your app from the extensions, you would use the openApplication(for:) method, passing an NSUserActivity with the NSUserActivityTypeLockedCameraCapture activity type.

Then, you receive that NSUserActivity when you app launches in the UIApplicationDelegate.

-- Greg

@DTS Engineer I have two questions the first one the function you are referring to in the UIApplicationDelegate is didFinishLaunchingWithOptions right ?

the second question is that how can I access the images in the directory ? like how can I know the name of the front and the back image ? if you can provide more context on how I can access the images from the directory will be very helpful.

Camera Capture Extension with AVMultiCamPiP
 
 
Q