I am working one Feature of setting Brightness of mainscreen i search lots of googling got one code.
UISlider *slider = (UISlider *)sender; float fBrightness = s
yeah you can do that by adding a blackView on your view and change its alpha based on the slider value .. it will looks like you are changing the brightness.