I try something to create an UIImage with a frame and color but don't know what the correct way.
UIImage *aImage = [UIImage imageWithCIImage:[CIImage imageWithColor:[CIColor colorWithCGColor:[UIColor redColor].CGColor]]];
Is the above line correct? How to create image size? Please help!