This is an easy one to seasoned X-coders, but one that tripped me up a few times when I first got started.
BAD CODE:
-(void) makePhotoFromImage: (UIImage )image;
ERROR:
can not use an object as parameter to a method
TRANSLATION
You probably forgot the “pointer” asterisk in your declaration. Should be:
-(void) makePhotoFromImage: (UIImage *)image;