I am unable to get a UIButton's image to size as I change the font size. I can get the text in the label to work correctly using the adjustsFontForContentSizeCategory property on the button's label, but there appears to be now equivalent for the image.
If I restart the app after making the font size change, the button does indeed scale the image correctly so I know I have the preferred configuration setup correctly.
I figured I could work around the issue using traitCollectionDidChange and comparing the preferredContentSizeCategory, but I am still unable to get the button to resize itself no matter what I attempt to tweak.
Anybody else running into this issue? Any workarounds?
If I restart the app after making the font size change, the button does indeed scale the image correctly so I know I have the preferred configuration setup correctly.
I figured I could work around the issue using traitCollectionDidChange and comparing the preferredContentSizeCategory, but I am still unable to get the button to resize itself no matter what I attempt to tweak.
Anybody else running into this issue? Any workarounds?