Since the CIFilter
public API is missing on iPhone OS, there's no way to do compositing using UIView
or CALayer
.
This means that the answer is: You cannot mask the contents of UIImageView
, animated or not.
I've filed a radar bug request because I feel that the addition of the CIFilter
API would be a great enhancement to Cocoa Touch and expand the possibilities of UIView/CALayer based UI design a lot. At the moment, if you want to do compositing on the iPhone, you have to use Quartz (slow) or OpenGL (doing everything yourself).
If you agree on the usefulness of CIFilters for iPhone OS, please consider filing a request on radar. The more requests, the sooner Apple will care about it.