You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building with Xcode 15 for iOS 17 lead to the run-time crash when using a deprecated UIGraphicsBeginImageContextWithOptions code on the UIImage instances with .zero size.
Following UI Image apis are depricated from ios 17 when build with Xcode 15:
Instead need to use UIGraphicsImageRenderer and UIGraphicsImageRendererContext.
Steps to reproduce the behavior
Building with Xcode 15 for iOS 17 lead to the run-time crash when using a deprecated UIGraphicsBeginImageContextWithOptions code on the UIImage instances with .zero size.
bug report
Version & Platform
"react-native": "0.72.5"
"react-native-view-shot": "3.5.0"
Platform: iOS
Issue Overview:
Building with Xcode 15 for iOS 17 lead to the run-time crash when using a deprecated
UIGraphicsBeginImageContextWithOptions
code on the UIImage instances with .zero size.Following UI Image apis are depricated from ios 17 when build with Xcode 15:
Instead need to use
UIGraphicsImageRenderer
andUIGraphicsImageRendererContext
.Steps to reproduce the behavior
Building with Xcode 15 for iOS 17 lead to the run-time crash when using a deprecated UIGraphicsBeginImageContextWithOptions code on the UIImage instances with .zero size.
Pr to address this fix : #515
The text was updated successfully, but these errors were encountered: