Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
227 views

Is it possible to use Apple Music's MusicKit SDK to play user's own station?

I'm trying to allow user's to play user's own station in my app. But after some research, I couldn't figure out whether it's achievable. As shown below, I want this particular station which Apple ...
Legolas Wang's user avatar
  • 2,358
-2 votes
2 answers
648 views

Carplay Resume Music

I am creating a CarPlay music app, everything works fine except when I get a call in between my music is playing. Carplay pauses music in between but when I end phone call its not resuming back. ...
Sagar Thukral's user avatar
0 votes
1 answer
2k views

How to play .oga or .ogg file in ios app? [closed]

I want to play .ogg/.oga audio files from a remote URL in my iOS app. I also want to play audio even when the app is in background state. I have tried https://github.com/iosdevzone/IDZAQAudioPlayer ...
Komal Goyani's user avatar
1 vote
1 answer
181 views

How can I pause SCNAudioPlayer playback in ARKit?

I'm trying to implement a play/pause button for positional audio attached to a node in an ARKit scene. I want the user to be able to pause the audio, then resume it from the paused point at a later ...
MightyMeta's user avatar
0 votes
1 answer
414 views

Toggle sound off straight away

I have created a toggle button to turn off/on the music. This problem is i have to close the application for it to take effect. This is what i use to begin the music: .onAppear(perform: {self.musicM....
William Mooney's user avatar
1 vote
0 answers
121 views

WebKit ProcessAssertion

I coded a music application using Xcode 10 because I'm still on High-Sierra. I have installed the latest iOs 13.4.1 update and I can run the app from Xcode so everything is fine. This app has a 1x1 ...
MOH's user avatar
  • 17
4 votes
1 answer
2k views

In Swift, How can I make music keep playing while user is using my app? (swiftUI)

When a user taps the button, it plays the music, and then it stops background music playing. But what I want is background music to keep playing even after the user had tapped the button Here is code ...
Seungjun's user avatar
  • 954
0 votes
1 answer
761 views

Custom audio control for ios apps

We are creating an app using Swift on IOS that needs to use custom audio controls: a play button, a stop button, a current time/pos indicator, the duration and perhaps even a seek bar to play 1 audio ...
Philip Stephens's user avatar
-2 votes
1 answer
352 views

How play music as Document directory in swift?

I can't read the file in the document Get file in the document and show on the table view if file as mp3 music did select on row play music func loadMusic() { let documentsPath = ...
alireza moradi's user avatar
0 votes
1 answer
1k views

Play IOS Music Library Content Using AVFoundation

I'm attempting to write an IOS app that will play my iPhone music library content, showing artwork, and "announcing" title, artist, etc. I have it working nicely using Apple's Media Player framework. ...
Uncle Bill's user avatar
2 votes
1 answer
297 views

Best strategy for managing audio instances to allow cross-fades, etc

I'm working on an iOS application that works with different pieces of audio. Each piece of audio is tied to a separate button (similar to the kind of functionality you'd see in a soundboard app). In ...
MMac's user avatar
  • 483
1 vote
0 answers
325 views

how to run progress bar until the background plying audio stoped

i'm working on a audio player where i have to allow the audio to play in background, i have done with audio sessions but i stuck in progress bar when i play audio in background and again open my app ...
Arslan Ahmed's user avatar
0 votes
1 answer
47 views

AVAudioPlayer is not playing in swift. How to fix it?

In my app I want to integrate a AVAudioPlayer in my app. But I can`t here anything. Thats my code: import UIKit import AVFoundation class NotenAnsicht: UIViewController{ var PlaybackPlayer:...
Quintus's user avatar
  • 35
6 votes
0 answers
744 views

How to detect the end of a song in MusicKit?

I am attempting to use Apple's Music Kit within my application to listen to music. My issue is that the first song that plays will continually repeat. The first song plays correctly by using the ...
Mitch Kelly's user avatar
7 votes
1 answer
844 views

MPMusicPlayer Error Domain=MPErrorDomain Code=4?

I am having issue with Music player, most of the songs gives Error Error Domain=MPErrorDomain Code=4 The testing device has Apple music subscription and the tracks gives error on the app they are ...
Kodr.F's user avatar
  • 14.2k

15 30 50 per page