• 大小: 30.13MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-06-15
  • 语言: 其他
  • 标签: 播放器  

资源简介

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  player\MPMoviePlayer\
     文件       10244  2015-11-05 06:02  player\MPMoviePlayer\.DS_Store
     文件         278  2015-11-02 05:03  player\MPMoviePlayer\AppDelegate.h
     文件        2264  2015-11-02 06:55  player\MPMoviePlayer\AppDelegate.m
     目录           0  2015-11-05 05:53  player\MPMoviePlayer\Assets.xcassets\
     文件        6148  2015-11-05 06:02  player\MPMoviePlayer\Assets.xcassets\.DS_Store
     目录           0  2015-11-05 05:53  player\MPMoviePlayer\Assets.xcassets\AppIcon.appiconset\
     文件        6148  2015-11-05 05:53  player\MPMoviePlayer\Assets.xcassets\AppIcon.appiconset\.DS_Store
     文件         585  2015-11-02 05:03  player\MPMoviePlayer\Assets.xcassets\AppIcon.appiconset\Contents.json
     文件         268  2015-11-05 05:47  player\MPMoviePlayer\AVPlayerViewController.h
     文件        4492  2015-11-05 05:48  player\MPMoviePlayer\AVPlayerViewController.m
     文件        4759  2015-11-05 05:20  player\MPMoviePlayer\AVPlayerViewController.xib
     目录           0  2015-11-05 05:53  player\MPMoviePlayer\base.lproj\
     文件        6148  2015-11-05 05:53  player\MPMoviePlayer\base.lproj\.DS_Store
     文件        1664  2015-11-02 05:03  player\MPMoviePlayer\base.lproj\LaunchScreen.storyboard
     文件        5256  2015-11-05 05:45  player\MPMoviePlayer\base.lproj\Main.storyboard
     文件         247  2015-11-02 07:15  player\MPMoviePlayer\GetUrl.h
     文件         660  2015-11-05 05:26  player\MPMoviePlayer\GetUrl.m
     文件        1303  2015-11-02 06:48  player\MPMoviePlayer\Info.plist
     文件         335  2015-11-02 05:03  player\MPMoviePlayer\main.m
     文件         332  2015-11-02 06:55  player\MPMoviePlayer\MPMoviePlayer.h
     文件        3138  2015-11-02 10:04  player\MPMoviePlayer\MPMoviePlayer.m
     文件         330  2015-11-02 07:10  player\MPMoviePlayer\MPMoviePlayerCtl.h
     文件        3064  2015-11-05 05:26  player\MPMoviePlayer\MPMoviePlayerCtl.m
     文件        1222  2015-11-02 07:06  player\MPMoviePlayer\MPMoviePlayerCtl.xib
     文件         216  2015-11-02 05:03  player\MPMoviePlayer\ViewController.h
     文件        1304  2015-11-02 09:34  player\MPMoviePlayer\ViewController.m
     文件    31691363  2012-10-30 18:28  player\MPMoviePlayer\鎴戠殑姝屽0閲?mp4
     目录           0  2015-11-02 10:01  player\MPMoviePlayer.xcodeproj\
............此处省略19个文件信息

评论

共有 条评论