Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6248403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:03:04+00:00 2026-05-24T13:03:04+00:00

I am working on an iPad app that connects with an accessory that plays

  • 0

I am working on an iPad app that connects with an accessory that plays sound. When the iPad is connected to the accessory, I would like to mute all system sounds but allow other sounds (iPod).

Part of the reason for this is that the accessory is such that it is intended to be used during a live performance. Clearly it would be annoying to have e-mail, alert, or any other system sound running through and amplified (crazy loud).

I have looked at using AVAudioSession (read Audio Sessions to learn more) and tried all of the AudioSessionCategories. None of these categories will mute the system sound, instead it will only allow you to mute application sounds (iPod) – not useful for my purposes.

I also found docs on “System Sound Services“, but this only allows you to play system sounds. There is no api here to disable system sounds while your app is running.

A final note, we have made it easy to adjust the iPad level (volume) by including the MPVolumeView, but we expect the user to want to play iPod music. If while playing iPod music (or music from another app) and an e-mail comes through, you’d be amazed how LOUD / ANNOYING that e-mail suddenly becomes when going through our accessory. It’s even possible it could damage equipment. 😀

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T13:03:06+00:00Added an answer on May 24, 2026 at 1:03 pm

    It is possible to change the system sounds, which turns out to be the ringer btw, using the AVSystemController. However, AVSystemController exists in the private Celestial framework. Since this framework is referenced by UIKit, it is still possible to use this class without directly referencing it.

    Apple prohibits using private API’s, so that alone makes this a bad idea. Given my circumstance, I think they may make an exception, BUT I will likely abandon this course since after taking it I realized that it didn’t fix my problem. It does indeed mute the sounds, but as soon as I plug in to my accessory, the system sounds come out at max volume even though the ringer volume is set to 0. This leads me to believe the answer to solving my problem is in the MFI documentation.

    Anyhow, here is how to change the ringer using private framework / api (which will get your app rejected without some kind of special permission).

    short answer:

    [[AVSystemController sharedAVSystemController] setVolumeTo:0 forCategory:@"Ringtone"];
    

    answer without having to directly reference Celestial frameork / AVSystemController.h:

    - (void) setSystemVolumeLevelTo:(float)newVolumeLevel
    {   
        Class avSystemControllerClass = NSClassFromString(@"AVSystemController");
        id avSystemControllerInstance = [avSystemControllerClass performSelector:@selector(sharedAVSystemController)];
    
        NSString *soundCategory = @"Ringtone";
    
        NSInvocation *volumeInvocation = [NSInvocation invocationWithMethodSignature:
                                          [avSystemControllerClass instanceMethodSignatureForSelector:
                                           @selector(setVolumeTo:forCategory:)]];
        [volumeInvocation setTarget:avSystemControllerInstance];
        [volumeInvocation setSelector:@selector(setVolumeTo:forCategory:)];
        [volumeInvocation setArgument:&newVolumeLevel atIndex:2];
        [volumeInvocation setArgument:&soundCategory atIndex:3];
        [volumeInvocation invoke];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on an app that I would like to put onto some
I am working on an iPad app that seems like a natural fit for
I'm currently working on an iPad app and would like to make a function
I'm working on an iPad app that downloads a CSV file from the web
So I am working on an iPad app that needs to talk to our
We're working on a web app that will deployed to mobile devices, iPad, iPhone,
I'm working on a iPad app that is mainly a web view. It is
I'm working on an app that stores data locally on the iPad in the
I am working on an iPad app (iOS 5 ARC) that will show threads
I'm working on an iPad app and reading this page that said launch images

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.