I wanto to resize an UIImage and I try this code:
UIImage *newImage = [image1toResize _imageScaledToSize:CGSizeMake(290, 390) interpolationQuality:1];
but I have this warning:
warning: ‘UIImage’ may not respond to ‘-_imageScaledToSize:’
why?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
_imageScaledToSize is not a UIImage function. If this function is part of a 3rd Party library you are using then you need to make sure that you #import the right headers in your file.