Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMP-7095: migrate ios camera example to use interop UiView #5166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

exaV
Copy link

@exaV exaV commented Nov 19, 2024

https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-ios-migration.html#onresize-parameter-removed

Fixes https://youtrack.jetbrains.com/issue/CMP-7095/blank-camera-preview-screen-with-UIKitView-and-AVCaptureVideoPreviewLayer

Testing

Describe how you tested your changes. If possible and needed:

  • I tested in on my iPhone mini 13 as described in the "how to reproduce" section of the ticket.

cameraPreviewLayer.setFrame(frame)
CATransaction.commit()
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants