I have a UIView subclass. It is drawing some things based on a lot of complicated code that I would greatly prefer not to disturb for this particular purpose.
I am using the now-deprecated contentStretch property to make certain changes to my view. Apple's documentation suggests a replacement for image-based content -- see here: Replacement for UIView's contentStretch?. But it is silent on the question of what to do if the content is not image-based.
Any suggestions? In one particular case, it is for an animation.