So basically, I have a transparent filter with a black image over a camera view (UIImagePickerController). When I need the view to become darker, I just turn the alpha of the filter view up and voilà, it gets darker.
Now I want to make the entire image lighter. Problem is that the only way to do that is to have a WHITE filter layer with its alpha value set > 0.
So my problem is that I'm trying to dynamically swap out the source of the filter within the cameraOverlayView. When the user hits a certain button or UI element, the entire camera view gets lighter via this white filter. When the user hits some other UI element, the camera view should get darker by changing the source of the filter to the original, black picture/rectangle.
NOTE: The filter is a UIImageView that is a sub view of the cameraOverlayView.
BONUS: first person that tells me how to access the brightness/lighting settings of the camera (so I wont have to deal with this filter crap) gets their answer accepted lol
Thanks for any answers, I really appreciate it!