feat(ios): support using other native views in e.g. masks

This commit is contained in:
Mikael Sand
2020-01-03 22:06:20 +02:00
parent 15b4ac63b9
commit 518a3b1836
+3 -1
View File
@@ -72,7 +72,9 @@
CGContextClipToRect(context, rect);
[svgView drawToContext:context withRect:rect];
} else {
[node drawRect:rect];
node.hidden = false;
[node.layer renderInContext:context];
node.hidden = true;
}
return YES;