We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7819811 commit b861de1Copy full SHA for b861de1
SDWebImagePDFCoder/Classes/SDImagePDFCoder.m
@@ -203,7 +203,7 @@ - (UIImage *)createBitmapPDFWithData:(nonnull NSData *)data pageNumber:(NSUInteg
203
SDGraphicsBeginImageContextWithOptions(targetRect.size, NO, 0);
204
CGContextRef context = SDGraphicsGetCurrentContext();
205
206
-#if SD_UIKIT
+#if SD_UIKIT || SD_WATCH
207
// Core Graphics coordinate system use the bottom-left, UIkit use the flipped one
208
CGContextTranslateCTM(context, 0, targetRect.size.height);
209
CGContextScaleCTM(context, 1, -1);
0 commit comments