I would like to implement a strobe light on my iphone 4 I already have the code to turn on and off the LED.
I figure I should use an NSTimer to repeat the method that turn the light on and off, also i figure i would use a UISlider to change the rate at which the strobe flashes.
I just need to know what the best way to implement the strobe would be. I'd really appreciate any help I could get on this.