Skip to content

Conversation

Apolla
Copy link

@Apolla Apolla commented Nov 13, 2023

[CHG]fix xcode15 Assertion failure in void _UIGraphicsBeginImageContextWithOptions(CGSize, BOOL, CGFloat, BOOL)(), UIGraphics.m:410

[CHG]fix xcode15 Assertion failure in void _UIGraphicsBeginImageContextWithOptions(CGSize, BOOL, CGFloat, BOOL)(), UIGraphics.m:410
@sukesk
Copy link

sukesk commented Nov 27, 2023

if(!(self.bounds.size.width*self.bounds.size.height)) return;
UIGraphicsBeginImageContextWithOptions(self.bounds.size, self.opaque, self.contentsScale);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants