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

mysql - java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) -

c - ALSA programming: how to stop immediately -