xcode may not respond to warning
- by Frames84
Hi all,
Can't seem to get rid of a warning. The warning is:
'UIImage' may not respond to '-scaleToSize'
above the @implmentation MyViewController I have this @implementation:
@implementation UIImage (scale)
-(UIImage*)scaleToSize:(CGSize)size
{
UIGraphicsBeginImageContext(size);
[self drawInRect:CGRectMake(0, 0, size.width, size.height)];…