In my iPhone application I have a black-and-white UIImage. I need to blur that image (Gaussian blur would do).
UIImage
iPhone clearly knows how to blur images,
To blur an image, you would use a convolution matrix. Here is the sample code to apply a convolution matrix, and here is an overview of convolution matrices as well as some sample matrices (including blur and gaussian blur).