ios - Incompatible pointer types sending 'UIImageView' to parameter of type 'UIImage*' (xcode5) -


i error in code line:

gpuimagepicture *stillimagesource = [[gpuimagepicture alloc] initwithimage:_imagview]; 

and error:

incompatible pointer types sending 'uiimageview' parameter of type 'uiimage*' 

does know have do?

issue

passing argument of uiimageview instead of uiimage

solution

change code :

gpuimagepicture *stillimagesource = [[gpuimagepicture alloc] initwithimage:_imagview.image]; 

Comments

Popular posts from this blog

c - ALSA programming: how to stop immediately -

c++ - How to add Crypto++ library to Qt project -