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

arrays - PHP Shopping Cart Variable and Object errors -

javascript - jQuery "chosen": conflict with 'selected' attribute in option tag -