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

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -