I am getting an image from gallery and displaying it in the collectionViewCell
. When user clicks the collectionViewCell
that image is dimply into anotherView
. I have tableView
which is having filters (Effects) to apply when I click tableViewCell
. But here I am getting exception. My code is
- (void)viewDidLoad
{
self.imageView.image = inputImage11;
self.secImgView.image = secblurImage;
arrEffects = [[NSMutableArray alloc] initWithObjects:
[NSDictionary dictionaryWithObjectsAndKeys:@"Original", @"title", @"", @"method", nil],
[NSDictionary dictionaryWithObjectsAndKeys:@"Brightness", @"title", @"e1", @"method", nil],
[NSDictionary dictionaryWithObjectsAndKeys:@"BoardWalk", @"title", @"e2", @"method", nil], nil
];
//here getting this Exception
thumbImage = [inputImage11 scaleToSize:CGSizeMake(300.0f, 300.0f)];
minithumbImage = [thumbImage scaleToSize:CGSizeMake(40, 40)];
}
I tried googling the issue but have not found a solution. Can anybody please suggest a solution. Thank you in advance.