简体   繁体   English

我没有AirPlayFeature

[英]I don't have AirPlayFeature

I have just installed new xcode with sdk 4.3b because I need 'airPlay' feature in my current project which is based on sdk 4.2. 我刚刚用sdk 4.3b安装了新的xcode,因为我在当前项目中需要'airPlay'功能,该功能基于sdk 4.2。 But I open my project and type my MPMoviePlayerController object.... 但我打开我的项目并输入我的MPMoviePlayerController对象....

mpObject.???

... but here I don't have allowAirPlay property. ...但是这里我没有allowAirPlay属性。 But when I start new project and create movie player I have that property, but don't have in my old project, what should I setup to have this? 但是,当我开始新项目并创建电影播放器​​时,我拥有该属性,但在我的旧项目中没有,我应该设置什么呢?

The 4.3 beta (as with all iOS betas) is under NDA and not something you're supposed to discuss in public. 4.3 beta(与所有iOS beta版一样)属于NDA,而不是你应该公开讨论的东西。 General advice would be not necessarily to trust Xcode's autocompletion (it's not infallible). 一般建议不一定要相信Xcode的自动完成(它不是绝对可靠的)。

You are probably linking to the old 4.2 MediaPlayer Framework. 您可能正在链接到旧的4.2 MediaPlayer框架。 Try Deleting the framework from project and adding it again. 尝试从项目中删除框架并再次添加。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么我不必释放这些物体? - Why don't I have to release these objects? 为什么我不必在第二个TableViewController中发布managedObjectContext - Why don't I have to release managedObjectContext in the 2nd TableViewController 仪器说我有内存泄漏,但是我看不到 - Instruments says I have a memory leak, but I don't see it 帮助我理解为什么我不必分配这个 NSMutableArray - Help me understand why I don't have to allocate this NSMutableArray 如何在应用程序中间重新初始化我无法完全控制的单例? - How do I reinitialize a singleton that I don't have full control over in the middle of an app? 如何为默认样式的UITableViewCell中没有的图像保留空间 - How can reserve space for an image I don't yet have in a default-style UITableViewCell 我有堆栈跟踪信息,没有其他信息,也不知道出了什么问题! - I have a stack trace and no other information and don't know what is wrong! 当我没有任何数组时,为什么 endUpdates 会在数组越界时崩溃? - Why endUpdates crashes on array out of bounds when I don't have any array? NavigationBar不必与UITable滚动 - NavigationBar don't have to scroll with UITable 如果不手动加载笔尖,是否需要释放笔尖的顶级对象? - Do I have to release the nib's top level objects if I don't load the nib manually?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM