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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:37:53+00:00 2026-05-29T18:37:53+00:00

I can play audio when my app is in forground, and it works when

  • 0

I can play audio when my app is in forground, and it works when it goes to background.

but it doesn’t start playing when app is in backgroud. so is it posible to start playing audio in background, i’m using avaudioplayer. i have added in info plist key : Required Background Modes -> App Plays Audio

  • 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-05-29T18:37:54+00:00Added an answer on May 29, 2026 at 6:37 pm

    The way I understand multitasking works, when the user taps the home button or resumes another app from the “Recently used apps” tray (double tap home button), your app gets about 5 seconds in the “Backgrounded State”, and after that it enters the “Frozen State”. During those 5 seconds, you can execute code (e.g., start playback) but you can’t do anything UI/Graphics-related. Once your app enters the “Frozen State”, its state is preserved in RAM but it can NOT execute any code; i.e. it gets 0 CPU cycles and in fact it is NOT running, so you can’t start any new task.

    During the transition described above, you can request extra time beyond those 5 seconds to complete specific tasks, effectively extending the “Background State” to, for example, complete a download.

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

Sidebar

Related Questions

I see that you can play ogg audio files, but I was wondering if
I'm trying to play sequence of audio files in the background using AVAudioPlayer. When
I currently have 3 ways to play audio within my app: Using AudioServicesPlaySystemSound for
How can I play an audio file in the background? This is my code:
I (and you) know how to play audio in background. But my question is
I'm trying to play a youtube video on my Android app, but I can't
I just developed an iPhone audio streaming application...Now it can play audio files without
I'd like to use C# to implement an application that can play multiple audio
Hey i want to develop a player on Android, which can play streaming audio
Can any one tell me how to use Silverlight to play audio from local

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.