diff --git a/ios/RNSVGPath.m b/ios/RNSVGPath.m index 9f6e9867..e928f639 100644 --- a/ios/RNSVGPath.m +++ b/ios/RNSVGPath.m @@ -57,7 +57,7 @@ CGContextSetLineWidth(context, self.strokeWidth); CGContextSetLineCap(context, self.strokeLinecap); CGContextSetLineJoin(context, self.strokeLinejoin); - RNSVGCGFloatArray dash = self.strokeDash; + RNSVGCGFloatArray dash = self.strokeDasharray; if (dash.count) { CGContextSetLineDash(context, self.strokeDashoffset, dash.array, dash.count); diff --git a/ios/RNSVGText.m b/ios/RNSVGText.m index 12ac6d13..f8ee3906 100644 --- a/ios/RNSVGText.m +++ b/ios/RNSVGText.m @@ -83,7 +83,7 @@ static void RNSVGFreeTextFrame(RNSVGTextFrame frame) CGContextSetLineWidth(context, self.strokeWidth); CGContextSetLineCap(context, self.strokeLinecap); CGContextSetLineJoin(context, self.strokeLinejoin); - RNSVGCGFloatArray dash = self.strokeDash; + RNSVGCGFloatArray dash = self.strokeDasharray; if (dash.count) { CGContextSetLineDash(context, self.strokeDashoffset, dash.array, dash.count);