Skip to content

[BUG] First photo in cold tones on iphone 15+ #98

@bogdan

Description

@bogdan

Prerequisites

  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Expected Behavior

Camera white balance is calibrated correctly for all photos the same way

Current Behavior

First phone has cold tone unlike all subsequently taken photos:

Only the captured image has the cold tone, the preview displays regular palette.

Steps to Reproduce

Use later iphone model like iPhone 15 +.
(it is not reproducible on iPhone 12)

  1. Open Camera
  2. Make first photo
  3. See the difference in warmth tone between preview and confirmation screen.
  4. Press "X" and return to camera capture
  5. Make another photo.
  6. See that now confirmation screen photo matches the preview.

Code Sample

 MCamera()
            .setCameraScreen {
                DefaultCameraScreen(cameraManager: $0, namespace: $1, closeMCameraAction: $2)
                    .cameraOutputSwitchAllowed(false)
                    .lightButtonAllowed(false)
                    .flipButtonAllowed(false)
            }
            .setCameraFilters([])
            .setCameraPosition(.back)
            .setCameraOutputType(.photo)
            .setAudioAvailability(false)
            .setResolution(.photo)
            .setCameraHDRMode(.on)
            .setCameraExposureMode(.continuousAutoExposure)
            .setFrameRate(30)
            .setCameraISO(0)
            .configureOutput(configureOutput)
            .setCameraTargetBias(1.2)
            .setLightMode(.off)
            .setGridVisibility(false)
            .setFlashMode(.auto)
            .lockCameraInPortraitOrientation(AppDelegate.self)
            .onImageCaptured(onImageCaptured)
            .onVideoCaptured(onVideoCaptured)
            .setCloseMCameraAction(onCameraClosed)

Screenshots

Image

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

Name Version
SDK e.g. 3.0.0
Xcode e.g. 16.2
Operating System e.g. iOS 18.3.2
Device e.g. iPhone 15 +

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions