• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MPVolumeView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPVolumeView


  • Subject: Re: MPVolumeView
  • From: David Rowland <email@hidden>
  • Date: Sun, 27 Feb 2011 09:58:03 -0800

Thanks for responding, but I think the answer is no.

It works like this: system volume stands in front of every sound output (except the ringer). If SysVol is set to 0, no output will be heard. Nothing in Core Audio can override that. If I am wrong I would love to hear about it, but that is my understanding.

It's an interface decision, no app should be able to override the user's setting. The user can use Settings or the external buttons. In addition, the OS provides MPVolumeView for use within an app.

I can use that, but I have a specific idea of how I want it to look and work. Since MPVolumeView inherits from UIView, I can intercept some methods and bend them to my will, but the OS doesn't give me access to the control-like elements of MPVolumeView. I want it to behave like a slider, but I want it to jump to the setting I touch rather than requiring me to "capture" the button before I can move it.

David





On Feb 27, 2011, at 1:29 AM, Laurent Cerveau wrote:

> Can't you just do what you want using directly CoreAudio?
>
> laurent
>
> On Feb 27, 2011, at 12:08 AM, David Rowland wrote:
>
>> Apple seems to have made it impossible for an app to control the system volume. The user can use the physical buttons, and an app can contain an MPVolumeView which lets the user control the volume, but there is no programmed access to that setting.
>>
>> I want a volume control that looks and behaves differently from MPVolumeView. I think I know how to adapt it to do what I need except this -- when I touch the control I want it to go to that setting. In other words, I don't want to have to find the slider button first and then move it, just jump to the spot I have touched.
>>
>> Anyone have a suggestion?
>>
>> thanks,
>>
>> David
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >MPVolumeView (From: David Rowland <email@hidden>)
 >Re: MPVolumeView (From: Laurent Cerveau <email@hidden>)

  • Prev by Date: Stack+Overflow+Question
  • Next by Date: Re: MPVolumeView
  • Previous by thread: Re: MPVolumeView
  • Next by thread: Re: MPVolumeView
  • Index(es):
    • Date
    • Thread