Use of undeclared identifier 'kUTTypeMovie'

后端 未结 6 1626
傲寒
傲寒 2020-12-13 16:32

I am getting the error message - Use of undeclared identifier \'kUTTypeMovie\'

in the below code -

-(IBAction)selectVideo:(id)sende         


        
6条回答
  •  长情又很酷
    2020-12-13 17:11

    I am a novice at iOS development and xcode and spent some time trying to find out why just the import was not working. After figuring out the problem with a more experienced member of my team I found out that not only must you include

    #import 
    

    but you must also link binaries to the library of the MobileCoreServices framework to the build phases of your project.

    Hope this helps! I sure needed this info when I was doing this.

提交回复
热议问题