开发者

Best way to implement audio playback on iPad

开发者 https://www.devze.com 2023-03-11 04:23 出处:网络
Should I used AVPlayer or MovieController? I have tried using AVPlayer but I cannot reference it even though I added AVFoundation as a framework to my target.

Should I used AVPlayer or MovieController?

I have tried using AVPlayer but I cannot reference it even though I added AVFoundation as a framework to my target.

EDIT: I have added the AVFoundation.framework to my 'frameworks' folder. Then at the top of my header file I am trying to reference the correct framework so that I can开发者_StackOverflow中文版 use AVPlayer


AVPlayer is what you need. Did you import AVFoundation in your file?

   #import <AVFoundation/AVFoundation.h>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号