• 大小: 1.18MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-11
  • 语言: 其他
  • 标签: ios  game  center  

资源简介

积分不多了,赚点

资源截图

代码片段和文件信息

//
//  AppDelegate.m
//  Game_Center
//
//  Created by xuchuanliang on 14-8-1.
//  Copyright (c) 2014年 xuchuanliang. All rights reserved.
//

#import “AppDelegate.h“
#import “User.h“
#import “GetStringLenth.h“
#import “APService.h“

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{

    
#pragma mark - 首先向APNS注册。(苹果推送)
    
    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT 0) ^{
        [[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeBadge |UIRemoteNotificationTypeSound)];
    });
    
    //极光推送
    
    // Required
    [APService
     registerForRemoteNotificationTypes:(UIRemoteNotificationTyp

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-08-06 10:47  Game_Center\
     文件       12292  2014-08-12 11:56  Game_Center\.DS_Store
     目录           0  2014-08-14 16:50  __MACOSX\
     目录           0  2014-08-14 16:50  __MACOSX\Game_Center\
     文件         120  2014-08-12 11:56  __MACOSX\Game_Center\._.DS_Store
     目录           0  2014-08-14 16:50  Game_Center\Game_Center\
     文件       12292  2014-08-12 11:56  Game_Center\Game_Center\.DS_Store
     目录           0  2014-08-14 16:50  __MACOSX\Game_Center\Game_Center\
     文件         120  2014-08-12 11:56  __MACOSX\Game_Center\Game_Center\._.DS_Store
     文件         285  2014-08-13 13:59  Game_Center\Game_Center\AppDelegate.h
     文件         171  2014-08-13 13:59  __MACOSX\Game_Center\Game_Center\._AppDelegate.h
     文件        4755  2014-08-13 13:59  Game_Center\Game_Center\AppDelegate.m
     文件         171  2014-08-13 13:59  __MACOSX\Game_Center\Game_Center\._AppDelegate.m
     文件        3135  2014-08-14 12:42  Game_Center\Game_Center\AppSpecificValues.h
     文件         171  2014-08-14 12:42  __MACOSX\Game_Center\Game_Center\._AppSpecificValues.h
     目录           0  2014-08-14 15:40  Game_Center\Game_Center\base.lproj\
     文件       10176  2014-08-14 13:55  Game_Center\Game_Center\base.lproj\Main_iPad.storyboard
     文件       14281  2014-08-14 15:40  Game_Center\Game_Center\base.lproj\Main_iPhone.storyboard
     目录           0  2014-08-01 11:03  Game_Center\Game_Center\en.lproj\
     文件          45  2014-08-01 11:03  Game_Center\Game_Center\en.lproj\InfoPlist.strings
     目录           0  2014-08-14 16:50  __MACOSX\Game_Center\Game_Center\en.lproj\
     文件         171  2014-08-01 11:03  __MACOSX\Game_Center\Game_Center\en.lproj\._InfoPlist.strings
     文件        1590  2014-08-14 14:18  Game_Center\Game_Center\Game_Center-Info.plist
     文件         374  2014-08-01 11:07  Game_Center\Game_Center\Game_Center-Prefix.pch
     文件         171  2014-08-01 11:07  __MACOSX\Game_Center\Game_Center\._Game_Center-Prefix.pch
     文件        4826  2014-08-14 16:50  Game_Center\Game_Center\GameCenterManager.h
     文件         171  2014-08-14 16:50  __MACOSX\Game_Center\Game_Center\._GameCenterManager.h
     文件       20623  2014-08-14 16:50  Game_Center\Game_Center\GameCenterManager.m
     文件         171  2014-08-14 16:50  __MACOSX\Game_Center\Game_Center\._GameCenterManager.m
     文件         985  2014-02-18 16:11  Game_Center\Game_Center\GetStringLenth.h
     文件         226  2014-02-18 16:11  __MACOSX\Game_Center\Game_Center\._GetStringLenth.h
............此处省略61个文件信息

评论

共有 条评论