1
我已經下載的模板here我怎樣才能解決「語義問題」
我的XCode 4.6當我運行它,我有以下幾點:
+ (UIImage *)imageWithCVMat:(const cv::Mat&)cvMat orientation:(UIImageOrientation)orientation
{
return [[UIImage alloc] initWithCVMat:cvMat orientation:orientation];
}
+ (UIImage *)imageWithCVMat:(const cv::Mat&)cvMat
{
return [[UIImage alloc] initWithCVMat:cvMat orientation:0];
}
,我得到了錯誤
Cannot initialize a parameter of type 'UIImageOrientation' with an value of type 'int'
我該如何解決它?也許有人知道
它的工作原理!謝謝 !!! ))) – user2032083 2013-02-26 16:05:07
棒極了!謝謝 – swiftBoy 2015-01-20 07:07:48