(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
(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