mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-04 07:25:53 +00:00
feat: remove UIGraphicsBeginImageContextWithOptions from repo (#2117)
Since UIGraphicsBeginImageContextWithOptions will be depracated in iOS 17 (developer.apple.com/documentation/uikit/1623912-uigraphicsbeginimagecontextwitho), I changed the implementation to not use it and use UIGraphicsImageRenderer instead. Also added Mask examples to be able to test it.
This commit is contained in:
@@ -63,9 +63,7 @@
|
||||
|
||||
- (RNSVGNode *)getDefinedMask:(NSString *)maskName;
|
||||
|
||||
- (NSString *)getDataURL;
|
||||
|
||||
- (NSString *)getDataURLwithBounds:(CGRect)bounds;
|
||||
- (NSString *)getDataURLWithBounds:(CGRect)bounds;
|
||||
|
||||
- (CGRect)getContextBounds;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user