Access BPM field on a song (MPMediaItemPropertyBeatsPerMinute not working)

倖福魔咒の 提交于 2019-11-30 07:44:06

I've tested this issue with iOS SDK 4.3 and can confirm that it works. Your code looks okay however.

It might be a bug in the 4.2 SDK that has been fixed in 4.3. I can also imagine that older versions of iTunes do not sync the BPM property correctly.

You could try to use the string @"beatsPerMinute" instead of MPMediaItemPropertyBeatsPerMinute (works in iOS 4.3), but I guess that won't resolve your problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!