Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Set AVAudioSession to respect mute switch #74

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Classes/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ @implementation AppDelegate
application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil];
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategorySoloAmbient error:nil];

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
[self configureAppearance];
Expand Down