I really need help.
I am creating simple image processing app, where I load an UIImage from the camera roll or I take a picture. I have a brightness control (slider) that will adjust the brightness of the image. The problem is slider works in real time on the simulator, but on the iphone there is small delay in response. I have tried everything, but don't seem to have any luck.
Please help. I have seen other apps where slider works smoothly without any delay. What am I doing wrong?
Thanks
- (IBAction)brightnessValueChanged:(id)sender {
float b;
b = self.brightnessSlider.value;
self.image = _sourceImage;
self.finalImageView.image = [self.image imageWithContrast:b brightness:b-1.5];
}
You try this..?
}
This works smooth in iPhone (Device).