Detect SD Card

Both Photos and Lightroom are able to detect when a card reader has been plugged into an iPhone or iPad and a card exists with the correct DCIM format (from a digital camera).

I have been unable to find the API that allows an application to do this (except using the standard file import function and making the user navigate to the card).

ChatGPT tells me that Photos and Lightroom use a private API that is not made available to normal developers.

Does anyone know if this is true - or if not then how to detect that a card is present using Swift?

Detect SD Card
 
 
Q