AVPlayerMPMoviePlayerControllerMPMoviePlayerViewContr


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  player
     文件       10244  2015-11-05 06:05  player.DS_Store
     目录           0  2015-11-05 05:48  playerMPMoviePlayer
     文件       10244  2015-11-05 06:02  playerMPMoviePlayer.DS_Store
     文件         278  2015-11-02 05:03  playerMPMoviePlayerAppDelegate.h
     文件        2264  2015-11-02 06:55  playerMPMoviePlayerAppDelegate.m
     目录           0  2015-11-05 05:53  playerMPMoviePlayerAssets.xcassets
     文件        6148  2015-11-05 06:02  playerMPMoviePlayerAssets.xcassets.DS_Store
     目录           0  2015-11-05 05:53  playerMPMoviePlayerAssets.xcassetsAppIcon.appiconset
     文件        6148  2015-11-05 05:53  playerMPMoviePlayerAssets.xcassetsAppIcon.appiconset.DS_Store
     文件         585  2015-11-02 05:03  playerMPMoviePlayerAssets.xcassetsAppIcon.appiconsetContents.json
     文件         268  2015-11-05 05:47  playerMPMoviePlayerAVPlayerViewController.h
     文件        4492  2015-11-05 05:48  playerMPMoviePlayerAVPlayerViewController.m
     文件        4759  2015-11-05 05:20  playerMPMoviePlayerAVPlayerViewController.xib
     目录           0  2015-11-05 05:53  playerMPMoviePlayerase.lproj
     文件        6148  2015-11-05 05:53  playerMPMoviePlayerase.lproj.DS_Store
     文件        1664  2015-11-02 05:03  playerMPMoviePlayerase.lprojLaunchScreen.storyboard
     文件        5256  2015-11-05 05:45  playerMPMoviePlayerase.lprojMain.storyboard
     文件         247  2015-11-02 07:15  playerMPMoviePlayerGetUrl.h
     文件         660  2015-11-05 05:26  playerMPMoviePlayerGetUrl.m
     文件        1303  2015-11-02 06:48  playerMPMoviePlayerInfo.plist
     文件         335  2015-11-02 05:03  playerMPMoviePlayermain.m
     文件         332  2015-11-02 06:55  playerMPMoviePlayerMPMoviePlayer.h
     文件        3138  2015-11-02 10:04  playerMPMoviePlayerMPMoviePlayer.m
     文件         330  2015-11-02 07:10  playerMPMoviePlayerMPMoviePlayerCtl.h
     文件        3064  2015-11-05 05:26  playerMPMoviePlayerMPMoviePlayerCtl.m
     文件        1222  2015-11-02 07:06  playerMPMoviePlayerMPMoviePlayerCtl.xib
     文件         216  2015-11-02 05:03  playerMPMoviePlayerViewController.h
     文件        1304  2015-11-02 09:34  playerMPMoviePlayerViewController.m
     文件    31691363  2012-10-30 18:28  playerMPMoviePlayer鎴戠殑姝屽0閲?mp4
     目录           0  2015-11-02 10:01  playerMPMoviePlayer.xcodeproj
............此处省略19个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)