Obtaining a bitmask or an alpha channel for a UIView.

Alex Zavatone

Is anyone aware of a process to scan a UIView and obtain its alpha channel or bit mask used for compositing?

I’m looking for this to create shadows in the shape of the contents of the non transparent parts of a UIView.

Thanks in advance.

Join cocoa@apple-dev.groups.io to automatically receive all group messages.