-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
Describe the bug
Presenting TOCropViewController on visionOS shows a blank screen only (see screenshot below).
To Reproduce
Same code is used that works without issue on iOS
TOCropViewController *cropViewController = [[TOCropViewController alloc] initWithImage:image];
cropViewController.delegate = self;
cropViewController.doneButtonTitle = NSLocalizedString(@"Save", nil);
cropViewController.doneButtonColor = [[self view] tintColor];
cropViewController.toolbarPosition = TOCropViewControllerToolbarPositionTop;
[self presentViewController:cropViewController animated:YES completion:nil];
Expected behavior
I expected to see the image provided to TOCropViewController.
Screenshots
iOS Device:
- Device: Vision Pro (simulator)
- OS: visionOS 26.0
- Library Version 3.1.0
Additional context
The console shows these messages that might be related
Instructed to remove hit test redirection, but it was already removed
Snapshotting a view (0x117f68520, TOCropToolbar) that has not been rendered at least once requires afterScreenUpdates:YES.