The coding should be similar than in that
Q & A on Stackoverflow.
Access to the pixel you get with
CGBitmapContextGetData. Read also for further information about the API.
For that you need to draw the image in an own context.
UIGraphicsBeginImageContextWithOptions(rc.size, true, 1.0);
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSetFillColorWithColor(context, [[UIColor whiteColor] CGColor]);
CGContextFillRect(context, rc);
[image drawAtPoint:CGPointMake(-rc.origin.x, -rc.origin.y)];
BYTE *data = CGBitmapContextGetData(context);
UIGraphicsEndImageContext();