簡體   English   中英

適用於舊版iPhone SDK的MPMoviePlayerViewController

[英]MPMoviePlayerViewController for older versions of iPhone SDK

如果我在3.2 / 4.0中使用MPMoviePlayerViewController,它可以正常運行。

如果我在3.1.3及以下版本中使用它,構建將失敗並顯示錯誤

Expected specifier-qualifier-list before MPMoviePlayerViewController'

我在113個地方使用了此類,因此出現113個錯誤。

解決此嚴重問題的最佳方法是什么?

我正在處理與您完全相同的問題。 不幸的是,如果您希望它運行良好,就無法對與moviePlayer相關的ViewController進行“雙重編碼”。

因此,在3.0的實現中,您將必須使用MPMoviePlayerController(與較新的MPMoviePlayerViewController實現相比,存在某些限制)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM