timov7

Results 6 comments of timov7

Hi, maybe this is a bit late, but maybe someone might find useful. If you would like to have methods called when there is long press detected you might verify...

You can detect short press in onTimeFire method `-(void)onTimeFire { ``` self.volButtonTimer = nil; if (self.secondsElapsed != 0) { self.secondsElapsed = 0; } else { NSLog(@"short"); // short press method...

Yes, you need to make timer nil each time onTimeFire gets called. Otherwise secondsElapsed will increase continuously in onVolumeUp method.

I am happy to help. :) See my edited answer for onTimeFire method.

Hi, I know this is an older thread but I am facing the same issue right now. I managed to get AVCaptureSession of an RTCAVFoundationVideoSource object and set it as...