Steven 10 months ago
parent
commit
ab4caf676b

+ 9 - 3
KulexiuForStudent/KulexiuForStudent/Module/Widget/Controller/ToneTuningViewController.m

@@ -160,9 +160,15 @@
 }
 
 - (void)startTuner {
-    if (self.isRuning == NO) {
-        self.isRuning = YES;
-        [self.tuner start];
+    @try {
+        if (self.isRuning == NO) {
+            self.isRuning = YES;
+            [self.tuner start];
+        }
+    } @catch (NSException *exception) {
+        NSLog(@"--exception -- %@",exception);
+    } @finally {
+        
     }
 }