Latest 0.2
Homepage https://github.com/donggehaowa/FBDAppUpdateTools
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit, CoreText
Authors

FBDAppUpdateTools 工具类的简介

使用说明

步奏1:在项目的pod 文件里面添加一句话: pod ‘FBDAppUpdateTools’, ‘0.2’

步奏2:在命令行中 pod install ;

步奏3:回到xcode 中直接 COM+R 键组合;

步奏4:使用代码前需要导入头文件

步奏5:AppDelegate 入口类中添加code

[FBDAppUpdateVersionTool appAutoUpdateVersionAfterDelaySecond:5];

API 简介:

//
//  FBDAppUpdateVersionTool.h
//  NewMedSci
//
//  Created by feng on 2016/11/30.
//  Copyright © 2016年 MedSci. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface FBDAppUpdateVersionTool : NSObject
//static NSString* [email protected]"https://itunes.apple.com/cn/lookup?id=1012163770";
//static NSString* [email protected]"https://itunes.apple.com/cn/app/id1012163770?mt=8";
//给开发者预留的苹果商店的地址和APP的信息
@property (nonatomic,strong)NSString*m_appVersionURL;
@property (nonatomic,strong)NSString*m_appStorePath;
@property (nonatomic,assign)BOOL showReleaseNote;

//供其他开发者重写tipView UI上面的Control 需要自己写控制逻辑
@property (nonatomic,strong)UIView*tipPopView;

/**
创建单例类

@return 实例
*/
+(instancetype)defaultTool;
/**
APP 自动检测升级提示
*/
+(void)appAutoUpdateVersion;
/*
APP 自动检测升级提示 (延迟多少秒)
*/
+(void)appAutoUpdateVersionAfterDelaySecond:(NSInteger)delaySecond;

//让PopView 提示视图消失
-(void)dismissUpdatePopView;

@end

Latest podspec

{
    "name": "FBDAppUpdateTools",
    "version": "0.2",
    "summary": "FBD_AppUpdateTool u662fu6839u636eu81eau5df1u7684APPu5728AppStoreu7684u7248u672cu4fe1u606fu548cu672cu5730u7248u672cu4fe1u606fu8fdbu884cu5339u914du540eu4f5cu51fau8ba9u7528u6237u53bbAppStoreu8fdbu884cu76f8u5173u7684u66f4u7ec6u7684u754cu9762uff0cu76eeu7684u4e3au4e86u66f4u597du7684u8282u7701u5f00u53d1u65f6u95f4uff01u89e3u91cau6743u5f52u51afu5b9du4e1cu6240u6709uff0cu5982u679cu6d89u53cau5230u7248u6743u4fe1u606fuff0cu8054u7cfbu6211u5220u9664u4ee3u7801",
    "homepage": "https://github.com/donggehaowa/FBDAppUpdateTools",
    "license": "MIT",
    "authors": {
        "feng": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/donggehaowa/FBDAppUpdateTools.git",
        "tag": "0.2"
    },
    "source_files": [
        "FBDAppUpdateToolsClass",
        "FBDAppUpdateToolsClass/*.{h,m}"
    ],
    "resources": "Resources/*",
    "requires_arc": true,
    "frameworks": [
        "UIKit",
        "CoreText"
    ]
}

Pin It on Pinterest

Share This