Steven 9 months ago
parent
commit
dc9f2f1283

+ 2 - 2
KulexiuForStudent/KulexiuForStudent.xcodeproj/xcshareddata/xcschemes/KulexiuForStudent.xcscheme

@@ -51,7 +51,7 @@
       </Testables>
    </TestAction>
    <LaunchAction
-      buildConfiguration = "DEV"
+      buildConfiguration = "TEST"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       launchStyle = "0"
@@ -92,7 +92,7 @@
       buildConfiguration = "Debug">
    </AnalyzeAction>
    <ArchiveAction
-      buildConfiguration = "Release"
+      buildConfiguration = "TEST"
       revealArchiveInOrganizer = "YES">
    </ArchiveAction>
 </Scheme>

+ 1 - 0
KulexiuForStudent/KulexiuForStudent/Common/Base/AccompanyWebView/KSAccompanyWebViewController.m

@@ -907,6 +907,7 @@
                 NSDictionary *content = [parm ks_dictionaryValueForKey:@"content"];
                 NSString *status = [content ks_stringValueForKey:@"state"];
                 if ([status isEqualToString:@"start"]) { // 开始
+                    [self configAudioSession];
                     [self startTuner];
                 }
                 else if ([status isEqualToString:@"end"]) { // 结束