apparently, I have download the opencv2.framework from http://sourceforge.net/projects/opencvlibrary/files/opencv-ios/
but after I\'ve download the example project from
You don't need cap_ios.h.
You only need to #import <opencv2/opencv.hpp>
in your prefix.pch file after you drag the "opencv.framework" file into Xcode.
The GSOC opencv code is for some sort of development version.
As of now, the header file was moved to a new location. Try this.
#import <opencv2/videoio/cap_ios.h>
From new libraries, you have to use following header
#import "opencv2/imgcodecs/ios.h"