graphics alpha channel

I must be missing something.

I have need to mask out some of the background in an iOS image.
This is pretty easy on the desktop, but I can’t find out how to directly paint on the mask in iOS.

Am i missing something?