Update AppIconOptionsController.m

This commit is contained in:
arichornlover 2024-04-15 18:19:06 -05:00 committed by GitHub
parent f22d9d3257
commit fe5cae02f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,7 +129,7 @@
}];
}
- (void)resizedImageWithImage:(UIImage *)image {
- (UIImage *)resizedImageWithImage:(UIImage *)image {
CGFloat scale = [UIScreen mainScreen].scale;
CGSize newSize = CGSizeMake(image.size.width / scale, image.size.height / scale);
UIGraphicsBeginImageContextWithOptions(newSize, NO, scale);