1.创建播放控件 2.代码 #import "ViewController.h" #import <AVFoundation/AVFoundation.h> @interface ViewController () @property (