# iOS: problem requesting access to microphone

**URL:** <https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676>\
**Category:** MacOSX and iOS\
**Created:** [March 6, 2018, 8:30pm UTC](https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676 "2018-03-06T20:30:46Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![eigilS](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eigils/32/2216_2.png) [@eigilS](https://forum.juce.com/u/eigilS)\
**Post date:** [March 6, 2018, 8:30pm UTC](https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676/1 "2018-03-06T20:30:46Z")

</div>

Hello,

I got the message below from Apple iTunes Connect revision. How do I resolve that problem? I just call

RuntimePermissions::request(RuntimePermissions::recordAudio, runtimPermissionsCallback);

(The microphone is used to capture sound from the guitar)

Best regards,  
Eigil

Message from Apple:  
"  
Mar 6, 2018 at 4:54 PM  
From Apple  
5. 1.1 Legal: Privacy - Data Collection and Storage  
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage

We noticed that your app requests the user’s consent to access their microphone but does not clarify the use of this feature in the permission modal alert.

Please see attached screenshots for details.

Next Steps

To resolve this issue, please revise the permission modal alert to specify why the app is requesting access to the user’s microphone.

Resources

To learn more about requesting the user’s permission to access app features, visit the iOS Human Interface Guidelines. You may also want to review the Technical Q&A QA1937: Resolving the Privacy-Sensitive Data App Rejection page for details on how to provide a usage description for permission request alerts.

"

 ![Screenshot-0306-075243](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/4/482bfdab54143a8130102bb7fd65f45f5bad177a.png)

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [March 7, 2018, 8:40am UTC](https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676/2 "2018-03-07T08:40:15Z")

</div>

Have you enabled the microphone access permission in the Projucer’s iOS exporter?

 ![18](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/2/2ed20a919d302c9dae411b97a047fdd1a47a9959.png)

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [March 7, 2018, 8:51am UTC](https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676/3 "2018-03-07T08:51:02Z")

</div>

You’ll need to provide a more informative message when you ask for the user’s permission. We’ve recently added the ability to customise this more easily if you build the Projucer from the `develop` branch of JUCE:

 ![14](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/e/e43e95e779b9dab776cd75d6b7c5222b49e656e8.png)

Otherwise you can manually edit your app’s info.plist after you’ve saved your project.

---

<div class="post-metadata">

**Author:** ![eigilS](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/eigils/32/2216_2.png) [@eigilS](https://forum.juce.com/u/eigilS)\
**Post date:** [March 7, 2018, 11:05pm UTC](https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676/4 "2018-03-07T23:05:04Z")

</div>

The develop branch sems to have done the trick!

Thanks!

---

<div class="post-metadata">

**Author:** ![dixitarjun](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dixitarjun](https://forum.juce.com/u/dixitarjun)\
**Post date:** [March 8, 2018, 11:33am UTC](https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676/5 "2018-03-08T11:33:35Z")

</div>

Ah yes! I was encountering similar problem with requesting access to microphone. Got it resolved by allowing the access thanks ed95 🙂

Arjun Dixit  
[https://showbox.onl/](https://showbox.onl/) [https://dltutuapp.com/](https://dltutuapp.com/)

---

<div class="post-metadata">

**Author:** ![swar](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/swar/32/12935_2.png) [@swar](https://forum.juce.com/u/swar)\
**Post date:** [November 19, 2018, 10:14am UTC](https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676/6 "2018-11-19T10:14:17Z")

</div>

I have an AUv3 that is only generating sound (clearing input buffer). Is there any way to avoid having to request mic access permission? I tried setting disabled input channels, but that seems to create problems in some DAWs.

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [July 7, 2019, 8:57pm UTC](https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676/8 "2019-07-07T20:57:45Z")

</div>

Did you do both? Adding to Projucer AND requesting [RuntimePermissions](https://docs.juce.com/develop/classRuntimePermissions.html), when opening the device?

The AudioRecordingDemo shows how:

> <https://github.com/WeAreROLI/JUCE/blob/master/examples/Audio/AudioRecordingDemo.h#L261>

---

<div class="post-metadata">

**Author:** ![scottsen11](https://avatars.discourse-cdn.com/v4/letter/s/ad7895/32.png) [@scottsen11](https://forum.juce.com/u/scottsen11)\
**Post date:** [August 12, 2019, 1:36pm UTC](https://forum.juce.com/t/ios-problem-requesting-access-to-microphone/26676/9 "2019-08-12T13:36:51Z")

</div>

In iOS, the user must explicitly grant permission for each app to access cameras and microphones. Before your app can use the capture system for the first time, iOS shows an alert asking the user to grant your app access to the camera, as shown below. iOS remembers the user’s response to this alert, so subsequent uses of the capture system don’t cause it to appear again. The user can change permission settings for your app in Settings \> Privacy.  
[shareit apk](https://droidmoda.com/shareit-apk-2)
