Steven 1 년 전
부모
커밋
ab4caf676b
1개의 변경된 파일9개의 추가작업 그리고 3개의 파일을 삭제
  1. 9 3
      KulexiuForStudent/KulexiuForStudent/Module/Widget/Controller/ToneTuningViewController.m

+ 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 {
+        
     }
 }