From your given details, it looks like you need to interact with CoreImage
framework. I would suggest to use CIHoleDistortion
filter available in the doc here. It is available for both iOS and Mac OSX.
Currently i don't have a closer sample code but to give you a start-up here is an example on how to use these filters.