I have a “*.caf” file, I can play it, but I need progress of playing, and jump to any position of music track. How to implement it?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
AVAudioPlayer has property currentTime which can be use either for picking position
- (Float32)getProgressValue:(NSString*)section { return backgroundMusicPlayer.currentTime; }or setting position
- (void) progressMusic:(Float32)progressMusic { [backgroundMusicPlayer setCurrentTime:progressMusic]; }then u can easily implement progress bar or UI Slider according this values.