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

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -