@@ -1344,8 +1344,10 @@
[self.recordTimer invalidate];
dispatch_async(dispatch_get_main_queue(), ^{
- self.recordTimer = [NSTimer timerWithTimeInterval:0.2 repeats:YES block:^(NSTimer * _Nonnull timer) {
- [self.timerLabel updateWith:self.movieFileOutput.recordedDuration.value / self.movieFileOutput.recordedDuration.timescale];
+ self.recordTimer = [NSTimer timerWithTimeInterval:0 repeats:YES block:^(NSTimer * _Nonnull timer) {
+ if (self.movieFileOutput.recordedDuration.timescale > 600) {
+ [self.timerLabel updateWith:self.movieFileOutput.recordedDuration.value / self.movieFileOutput.recordedDuration.timescale];
+ }
}];
[[NSRunLoop currentRunLoop] addTimer:self.recordTimer forMode:NSDefaultRunLoopMode];
});
@@ -14,6 +14,7 @@
NSInteger minutes = seconds / 60 % 60;
NSInteger sec = seconds % 60;
self.text = [NSString stringWithFormat:@"%02ld:%02ld:%02ld", hours, minutes, sec];
+ NSLog(@"~~~~~~~~~~~~~~~~~~~~:%@", self.text);
}
@end
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'LenzSDK'
- s.version = '2.3.9'
+ s.version = '2.3.10'
s.summary = 'A short description of LenzSDK.'
# This description is used to generate tags and improve search results.