We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Starting in iOS 17, UIGraphicsBeginImageContext will no longer be available. While your library is using this in the below method:
- (UIImage *)blurredScreenShotWithRect:(CGRect)rect { UIGraphicsBeginImageContextWithOptions(rect.size, NO, 0);
Is anyone looking at making this library iOS 17 compatible?
The text was updated successfully, but these errors were encountered:
Try this code
- (UIImage *)blurredScreenShotWithRect:(CGRect)rect { UIGraphicsImageRenderer *renderer = [[UIGraphicsImageRenderer alloc] initWithSize:rect.size]; UIImage *blurredScreenShot = [renderer imageWithActions:^(UIGraphicsImageRendererContext *context) { [self.originalKeyWindow drawViewHierarchyInRect:rect afterScreenUpdates:NO]; }]; blurredScreenShot = [self applyTintEffectWithColor:self.configuration.backgroundTintColor image:blurredScreenShot]; return blurredScreenShot; }
Sorry, something went wrong.
No branches or pull requests
Starting in iOS 17, UIGraphicsBeginImageContext will no longer be available. While your library is using this in the below method:
Is anyone looking at making this library iOS 17 compatible?
The text was updated successfully, but these errors were encountered: