私はiPhone開発に不慣れです.URLからビデオを再生できるアプリケーションを作成しました.iPhoneでビデオプレーヤーを開くために設定できるアニメーションはありますか?.ビデオは通常横向きで開かれます. 動画プレイヤーのオープニングをアニメーションで表示したいのですが、何か方法はありますか?
NSURL *movieURL = [NSURL URLWithString:@"http://url of movie"];
if (movieURL)
{
if ([movieURL scheme])
{
MovietryAppDelegate *appDelegate = (MovietryAppDelegate *)[[UIApplication sharedApplication] delegate];
[appDelegate initAndPlayMovie:movieURL];
}
}
デリゲート クラスでは、initAndPlayMovie メソッドを定義しました。参照用に Apple のサンプル「ムービー プレーヤー」を使用しました。ありがとうございます。