Is there a way to prevent the volume indicator view form showing if you press the volume up/down hardware buttons?
It’s needed for a demo app only. So the method don’t need to be App Store safe.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
IIRC, the presence of a MPVolumeView inhibits the display of the volume indicator overlay. Try sticking it the relevant view and seeing if this is the case.
Then you can try various tricks to make it effectively invisible:
All of these are theoretically detectable by MPVolumeView, but I suspect some of them will work.