Here are some links from stackoverflow itself . Please check them out :-
Tutorial for iPhone OpenCV on shape recognising
http://www.eosgarden.com/en/opensource/opencv-ios/documentation/tutorial/
http://computer-vision-talks.com/2011/08/a-complete-ios-opencv-sample-project/