Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
iPhone
iPhone 4S
FRONT camera
AVCaptureSessionPresetPhoto = 640x480
AVCaptureSessionPresetHigh = 640x480
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = not supported
AVCaptureSessionPreset1920x1080 = not supported
BACK camera
AVCaptureSessionPresetPhoto = 3264x2448
AVCaptureSessionPresetHigh = 1920x1080
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = 1920x1080
iPhone 5/5C/5S/6/6+
FRONT camera
AVCaptureSessionPresetPhoto = 1280x960
AVCaptureSessionPresetHigh = 1280x720
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = not supported
BACK camera
AVCaptureSessionPresetPhoto = 3264x2448
AVCaptureSessionPresetHigh = 1920x1080
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = 1920x1080
iPad
iPad 2
FRONT camera
AVCaptureSessionPresetPhoto = 640x480
AVCaptureSessionPresetHigh = 640x480
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = not supported
AVCaptureSessionPreset1920x1080 = not supported
BACK camera
AVCaptureSessionPresetPhoto = 960x720
AVCaptureSessionPresetHigh = 1280x720
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = not supported
iPad 3
FRONT camera
AVCaptureSessionPresetPhoto = 640x480
AVCaptureSessionPresetHigh = 640x480
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = not supported
AVCaptureSessionPreset1920x1080 = not supported
BACK camera
AVCaptureSessionPresetPhoto = 2592x1936
AVCaptureSessionPresetHigh = 1920x1080
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = 1920x1080
iPad 4/Air/Mini 2/Mini 3
FRONT camera
AVCaptureSessionPresetPhoto = 1280x960
AVCaptureSessionPresetHigh = 1280x720
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = not supported
BACK camera
AVCaptureSessionPresetPhoto = 2592x1936
AVCaptureSessionPresetHigh = 1920x1080
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = 1920x1080
iPad Air 2
FRONT camera
AVCaptureSessionPresetPhoto = 1280x960
AVCaptureSessionPresetHigh = 1280x720
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = not supported
BACK camera
AVCaptureSessionPresetPhoto = 3264x2448
AVCaptureSessionPresetHigh = 1920x1080
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = 1920x1080
iPod
iPod Touch 5
FRONT camera
AVCaptureSessionPresetPhoto = 1280x960
AVCaptureSessionPresetHigh = 1280x720
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = not supported
BACK camera
AVCaptureSessionPresetPhoto = 2592x1936
AVCaptureSessionPresetHigh = 1920x1080
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = 1920x1080
iPod Touch 6
FRONT camera
AVCaptureSessionPresetPhoto = 1280x960
AVCaptureSessionPresetHigh = 1280x720
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = not supported
BACK camera
AVCaptureSessionPresetPhoto = 3264x2448
AVCaptureSessionPresetHigh = 1920x1080
AVCaptureSessionPresetMedium = 480x360
AVCaptureSessionPresetLow = 192x144
AVCaptureSessionPreset640x480 = 640x480
AVCaptureSessionPreset1280x720 = 1280x720
AVCaptureSessionPreset1920x1080 = 1920x1080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.