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
From new libraries, you have to use following header
#import "opencv2/imgcodecs/ios.h"