I tried to use most of the correct answers suggested by users to adjust the brightness of the iphone (ie [[UIScreen mainScreen]setBrightness:0.0]; ), but the simulator did not change its brightness. Is the iphone simulator brightness adjustable?
iphone ios-simulator brightness
iosMentalist
source share