The native camera app on iPhone 15 can record videos directly in external hard drive. Is there an API to achieve the same in Photos framework?
PHPhotoLibrary save to external drive on iOS 17
No there is not, the Photo Library and the asset resources are always stored on device. If you'd like to see an API like this please file a feedback detailing your use case and the high level goals you're trying to achieve.