Give a user the ability to add App Background capabilities in iOS

FerasAS

I have an iOS app that needs to use background audio, but I would like the user to have control of the audio in the background. Can the info.plist capabilities be changed programmatically? to add audio background modes only when a user chooses it in the application settings?

Best,

F

Rygen

Since you can’t programmatically change the contents of info.plist, the way I’d go about this would be:

Note: The app needs to have an active Audio Session before it goes to background.

For further info, also have a look at technical Q&A 1668.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to give to a user ability like root with visudo?

From Dev

How to give the user the ability to control photo animation

From Dev

Use User Wallpaper as Background in App iOS 7

From Java

Will iOS launch my app into the background if it was force-quit by the user?

From Dev

How to add particle system to ios app without black background

From Dev

ios app background run

From Dev

Which Firebase Offline Capabilities to use for a quiz app (ios)

From Dev

How to add app file to appium Desired Capabilities correctly?

From Dev

How to add app file to appium Desired Capabilities correctly?

From Dev

iOS app that change whole app color theme (background, uibutton, icons color...) base on user selection

From Dev

App restart after 180 sec of execution in background mode. By enable the background modes in capabilities

From Dev

iOS In App Purchase capabilities says: "An App ID with Identifier 'com.example.App' is not available"

From Dev

Laravel user capabilities

From Dev

Alert window that asks for permission to use current location in iOS app does not give user a chance to choose between "don't allow" and "OK"

From Java

iOS push notification: how to detect if the user tapped on notification when the app is in background?

From Dev

How to tell whether user opened app with notification with iOS 7 remote-notification background mode?

From Dev

Running iOS app in the background forever

From Dev

iOS: Using LaunchImage as app background

From Dev

iOS app to run continuously in background

From Dev

iOS: Using LaunchImage as app background

From Dev

iOS app to run continuously in background

From Dev

Access App capabilities programmatically

From Dev

Access App capabilities programmatically

From Dev

Add Lock to iOS App

From Dev

Add Lock to iOS App

From Dev

What is the simplest possible way to add background music to your Swift iOS app?

From Dev

how do I give users capabilities

From Dev

List of applications that give for port-forwarding capabilities

From Dev

Is there an Umbraco plugin to give CRM-type capabilities?

Related Related

  1. 1

    How to give to a user ability like root with visudo?

  2. 2

    How to give the user the ability to control photo animation

  3. 3

    Use User Wallpaper as Background in App iOS 7

  4. 4

    Will iOS launch my app into the background if it was force-quit by the user?

  5. 5

    How to add particle system to ios app without black background

  6. 6

    ios app background run

  7. 7

    Which Firebase Offline Capabilities to use for a quiz app (ios)

  8. 8

    How to add app file to appium Desired Capabilities correctly?

  9. 9

    How to add app file to appium Desired Capabilities correctly?

  10. 10

    iOS app that change whole app color theme (background, uibutton, icons color...) base on user selection

  11. 11

    App restart after 180 sec of execution in background mode. By enable the background modes in capabilities

  12. 12

    iOS In App Purchase capabilities says: "An App ID with Identifier 'com.example.App' is not available"

  13. 13

    Laravel user capabilities

  14. 14

    Alert window that asks for permission to use current location in iOS app does not give user a chance to choose between "don't allow" and "OK"

  15. 15

    iOS push notification: how to detect if the user tapped on notification when the app is in background?

  16. 16

    How to tell whether user opened app with notification with iOS 7 remote-notification background mode?

  17. 17

    Running iOS app in the background forever

  18. 18

    iOS: Using LaunchImage as app background

  19. 19

    iOS app to run continuously in background

  20. 20

    iOS: Using LaunchImage as app background

  21. 21

    iOS app to run continuously in background

  22. 22

    Access App capabilities programmatically

  23. 23

    Access App capabilities programmatically

  24. 24

    Add Lock to iOS App

  25. 25

    Add Lock to iOS App

  26. 26

    What is the simplest possible way to add background music to your Swift iOS app?

  27. 27

    how do I give users capabilities

  28. 28

    List of applications that give for port-forwarding capabilities

  29. 29

    Is there an Umbraco plugin to give CRM-type capabilities?

HotTag

Archive