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 8711023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:46:32+00:00 2026-06-13T04:46:32+00:00

For my personal use only !!! I am trying to find where I can

  • 0

For my personal use only !!!

I am trying to find where I can change the system volume inside an app. I just want to make something that when I press a button it turns down the brightness and lowers the volume (ringtone) and when I am in a meeting I can set a different “profile”.

I would use this a lot since I am in classes and meetings during the day.

Any help? I have heard about the celestial framework, but I can’t find it anywhere. Is that what i need.

Again, this is not for apple’s approval:-) Thanks in advance.

  • 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-06-13T04:46:33+00:00Added an answer on June 13, 2026 at 4:46 am

    For the brightness you can use following code (and it’s even public)

    [[UIScreen mainScreen] setBrightness: brightness];
    

    where brightness is some float from 0.0 to 1.0.

    For the volume. Try following (these are private APIs in SpringboardService framework)

    mach_port_t SBSSpringBoardServerPort();
    
    void SBSetMediaVolume(mach_port_t port, int volume);
    

    In the case, if it won’t work. You can try to use GSEvent with code kGSEventVolumeDownButtonDown, kGSEventVolumeDownButtonUp, kGSEventVolumeUpButtonDown, kGSEventVolumeUpButtonUp

    The reference implementation is here:
    http://code.google.com/p/hid-support/source/browse/trunk/hidspringboard/Tweak.xm?spec=svn82&r=82

    It’s jailbreak tweak. However, you can extract the code and it should work on non jailbroken phone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am planning to do an app for personal use only (I don't want
I'm making a small system for personal use on that I want to handle
I'm going to build a little system for personal use, and I want it
Trying to use/learn git with a personal project. There's only me and a remote
I'm trying to find a source control for my own personal use that's as
I would like to write an html/javascript/sql app for personal use only running locally
I'm trying to write a code library for my own personal use and I'm
I make a fair amount portable Apps for personal use and they work perfectly
For personal use i am trying to parse a little html page that show
I'm looking for some code, that I can use in my iPhone app, that

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.