diff --git a/apple/Text/RNSVGTSpan.mm b/apple/Text/RNSVGTSpan.mm index f65d51870..faaedc98e 100644 --- a/apple/Text/RNSVGTSpan.mm +++ b/apple/Text/RNSVGTSpan.mm @@ -1065,7 +1065,11 @@ A negative value is an error (see Error processing). CGContextConcatCTM(context, transform); CGContextTranslateCTM(context, 0, -fontSize); +#if TARGET_OS_OSX [emojiLabel.layer renderInContext:context]; +#else + [emojiLabel drawTextInRect:emojiLabel.bounds]; +#endif // TARGET_OS_OSX CGContextTranslateCTM(context, 0, fontSize); CGContextConcatCTM(context, CGAffineTransformInvert(transform));