How to capture 48MP capture with Ultra wide lens using iPhone 16 pro max

I am working on capturing 48MP images using the iPhone 16 Pro Max with the Ultra-wide camera. I’ve updated the code to capture the maximum supported dimensions with the following snippet:

if #available(iOS 16.0, *) { 
    photoOutput.maxPhotoDimensions = device.activeFormat.supportedMaxPhotoDimensions.last!
    photoSettings.maxPhotoDimensions = .init(width: 5712, height: 4284)
}

However, I’m still not getting the expected results. My goal is to capture 48MP images, and I want to confirm if the Ultra-wide camera supports this resolution or if I’m missing any other configuration.

Any guidance would be appreciated!

Answered by DTS Engineer in 860095022

Hey @anumijaz,

Sorry for the late reply! Check out the answer on this thread, it should be applicable here: https://developer.apple.com/forums/thread/715452?answerId=729571022#729571022

--Greg

Good question.

Hey @anumijaz,

Sorry for the late reply! Check out the answer on this thread, it should be applicable here: https://developer.apple.com/forums/thread/715452?answerId=729571022#729571022

--Greg

How to capture 48MP capture with Ultra wide lens using iPhone 16 pro max
 
 
Q