資源簡介
AVPlayer,MPMoviePlayerController,MPMoviePlayerViewController,三種播放器
代碼片段和文件信息
//
//??AppDelegate.m
//??MPMoviePlayer
//
//??Created?by?zhangtao?on?15/11/2.
//??Copyright???2015年?zt.td.?All?rights?reserved.
//
#import?“AppDelegate.h“
#import?“MPMoviePlayer.h“
@interface?AppDelegate?()
@end
@implementation?AppDelegate
-?(BOOL)application:(UIApplication?*)application?didFinishLaunchingWithOptions:(NSDictionary?*)launchOptions?{
//????
//????MPMoviePlayer?*player?=?[[MPMoviePlayer?alloc]initWithNibName:@“MPMoviePlayer“?bundle:nil];
//????
//????
//????
//????
//????
//????self.window.rootViewController?=?player;
????
????
????
????
????//?Override?point?for?customization?after?application?launch.
????return?YES;
}
-?(void)applicationWillResignActive:(UIApplication?*)application?{
????//?Sent?when?the?application?is?about?to?move?from?active?to?inactive?state.?This?can?occur?for?certain?types?of?temporary?interruptions?(such?as?an?incoming?phone?call?or?SMS?message)?or?when?the?user?quits?the?application?and?it?begins?the?transition?to?the?background?state.
????//?Use?this?method?to?pause?ongoing?tasks?disable?timers?and?throttle?down?OpenGL?ES?frame?rates.?Games?should?use?this?method?to?pause?the?game.
}
-?(void)applicationDidEnterBackground:(UIApplication?*)application?{
????//?Use?this?method?to?release?shared?resources?save?user?data?invalidate?timers?and?store?enough?application?state?information?to?restore?your?application?to?its?current?state?in?case?it?is?terminated?later.
????//?If?your?application?supports?background?execution?this?method?is?called?instead?of?applicationWillTerminate:?when?the?user?quits.
}
-?(void)applicationWillEnterForeground:(UIApplication?*)application?{
????//?Called?as?part?of?the?transition?from?the?background?to?the?inactive?state;?here?you?can?undo?many?of?the?changes?made?on?entering?the?background.
}
-?(void)applicationDidBecomeActive:(UIApplication?*)application?{
????//?Restart?any?tasks?that?were?paused?(or?not?yet?started)?while?the?application?was?inactive.?If?the?application?was?previously?in?the?background?optionally?refresh?the?user?interface.
}
-?(void)applicationWillTerminate:(UIApplication?*)application?{
????//?Called?when?the?application?is?about?to?terminate.?Save?data?if?appropriate.?See?also?applicationDidEnterBackground:.
}
@end
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-11-05?06:04??pla
?????文件???????10244??2015-11-05?06:05??pla
?????目錄???????????0??2015-11-05?05:48??pla
?????文件???????10244??2015-11-05?06:02??pla
?????文件?????????278??2015-11-02?05:03??pla
?????文件????????2264??2015-11-02?06:55??pla
?????目錄???????????0??2015-11-05?05:53??pla
?????文件????????6148??2015-11-05?06:02??pla
?????目錄???????????0??2015-11-05?05:53??pla
?????文件????????6148??2015-11-05?05:53??pla
?????文件?????????585??2015-11-02?05:03??pla
?????文件?????????268??2015-11-05?05:47??pla
?????文件????????4492??2015-11-05?05:48??pla
?????文件????????4759??2015-11-05?05:20??pla
?????目錄???????????0??2015-11-05?05:53??pla
?????文件????????6148??2015-11-05?05:53??pla
?????文件????????1664??2015-11-02?05:03??pla
?????文件????????5256??2015-11-05?05:45??pla
?????文件?????????247??2015-11-02?07:15??pla
?????文件?????????660??2015-11-05?05:26??pla
?????文件????????1303??2015-11-02?06:48??pla
?????文件?????????335??2015-11-02?05:03??pla
?????文件?????????332??2015-11-02?06:55??pla
?????文件????????3138??2015-11-02?10:04??pla
?????文件?????????330??2015-11-02?07:10??pla
?????文件????????3064??2015-11-05?05:26??pla
?????文件????????1222??2015-11-02?07:06??pla
?????文件?????????216??2015-11-02?05:03??pla
?????文件????????1304??2015-11-02?09:34??pla
?????文件????31691363??2012-10-30?18:28??pla
?????目錄???????????0??2015-11-02?10:01??pla
............此處省略19個文件信息
評論
共有 條評論