-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Describe the bug
Both on MacOS (with macCatalyst) and iPhone, when the crop View is shown, it is always in dark mode, even if the device is set to light mode. In the case of the device being set to light mode, the crop view is dark, but the buttons for Done, Cancel, rotate are not visible since they are shown in dark font. The work around is to add cropViewController.overrideUserInterfaceStyle = .dark before presenting the cropview and then the buttons show up light. However, I would expect the cropview to respect the device light/dark behavior.
To Reproduce
Steps to reproduce the behavior:
Present cropview to edit an existing image when device is set to light mode.
See that cropview presents in dark mode and the Done, Cancel and rotate buttons are all too dark too view.
Expected behavior
I would expect the cropview to respect the device light/dark behavior and not always present in dark mode.
Screenshots
iOS Device:
- Device: Macbook Air, iPhone 16 Pro Max
- OS: macOS 15.6, iOS 18.6
- Library Version [e.g. 22]
Additional context
Add any other context about the problem here.