Replace UIGraphicsBeginImageContextWithOptions (Deprecated)
Closed this issue · 0 comments
the1abel commented
Describe the bug
UIGraphicsBeginImageContextWithOptions() was deprecated following iOS v17.0.
Because TOCropViewController
is a dependency of react-native-image-crop-picker, it causes React Native apps to crash when images are cropped.
iOS Device:
- Device: iPhone 12 Mini (iPhone13,1) and iPhone 13 Mini (iPhone14,4)
- OS: iOS17.3.1
- Library Version: code is in
main
branch
Additional context
I'm uncertain what function replaced UIGraphicsBeginImageContextWithOptions(), but there are 4 additional graphics context primitives functions listed at the bottom of the page.