я загрузить шаблон 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
Превосходно !! спасибо – swiftBoy