How to implement Audio player for Xamarin ios with play/pause ,Audio slider ,seek forward.

pratik27pratik27 Member ✭✭
edited February 27 in Xamarin.iOS

I'm trying to implement Audio Player with seek forward and slider. Please let me know the solution if any. Thanks.

I tried with Streaming Audio. But it does not have seek forward and slider.

Answers

  • LandLuLandLu Member, Xamarin Team Xamurai

    The AVAudioPlayer doesn't have a default UI for interaction, you have to implement it by yourself.
    Use timer to track the audioPlayer.CurrentTime. And when the Slider's value changed, modify the audio player's CurrentTime.

Sign In or Register to comment.