MPMusicPlayerController's currentPlaybackTime can return NaN
Originator: | jay.whitsitt | ||
Number: | rdar://28435485 | Date Originated: | 22 Sept 2016 |
Status: | Open | Resolved: | No |
Product: | iOS SDK | Product Version: | iOS 10 |
Classification: | Other Bug | Reproducible: | Always |
Summary: When playback is stopped, currentPlaybackTime returns NaN Steps to Reproduce: 1. Don't play anything 2. Check [MPMusicPlayerController applicationMusicPlayer].currentPlaybackTime -or- 1. Play something 2. Let the song end so playback stops again 3. Check [MPMusicPlayerController applicationMusicPlayer].currentPlaybackTime Expected Results: currentPlaybackTime = 0 or even -1 Actual Results: currentPlaybackTime = NaN which causes calculation issues Version: iOS 10.0.1, Xcode 8.0, OS X El Capitan 10.11.6 Notes: Configuration: iPhone 6, Project Fi Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Apple Developer Relations May 10 2017, 5:26 PM
Engineering has the following feedback for you:
Thank you for you feedback. This issue has been resolved.
This should be published in the MediaPlayer framework documentation.
We are now closing this bug report.
If you have questions or comments about the resolution, please update your bug report with that information so we can respond.