Skip to content

Camera preview is freezing when rotating and using FlyoutPage on iOS #25174

@dhindrik

Description

@dhindrik

Description

On iOS the app will freeze after taking a photo if you rotate it after you open the capture photo view. But it will only happen if you use FlyoutPage, with Shell it works as it should.

The problem is both with .NET 8 and .NET 9 (rc2)

Steps to Reproduce

  1. Clone the repo
  2. Start the app
  3. Rotate to landscape
  4. Click the button
  5. Rotate back to portrait
  6. Take a photo

Now the app is freezed and you cannot click the accept button for example.

Link to public reproduction project repository

https://github.com/dhindrik/CameraFreezeProblem

Version with bug

9.0.0-rc.1.24453.9

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17 and 18

Did you find any workaround?

No workaround found.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions