Built in flood fill (bucket tool) ability for UIImage or CGImage?

Hi. I'd like to be able to do a flood fill on images, either UIImage or CGImage, and was wondering if there was a built in way to do this provided by Apple's standard frameworks? i.e. Take a bitmap image and specify a point and color and then make it fill the area with that color, no matter what shape it is.

I've seen a few examples of algorithm code to do this, but they're quite large and complicated so am trying to avoid them.

Built in flood fill (bucket tool) ability for UIImage or CGImage?
 
 
Q