FluentDarkModeKit
FluentDarkModeKit copied to clipboard
DMDynamicImageProxy may crash when proxying resizable Image
(UIImage *)resizableImageWithCapInsets:(UIEdgeInsets)capInsets resizingMode:(UIImageResizingMode)resizingMode returns _UIResizableImage, and when using DMDynamicImageProxy as _UIResizableImage in a UIButton, it tries to access to image's ivar which is not aligned with DMDynamicImageProxy class
change DMDynamicImageProxy from NSProxy to NSObject solve this problem
@imWildCat @linlinyao1 do you still have sample codes that can reproduce it?
Closing as there is no sample code provided.