//
//  UpdateAlertView.h
//  RealEstateManagement
//
//  Created by Javen on 2017/3/24.
//  Copyright © 2017年 上海勾芒信息科技. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UpdateAlertView : UIView

+ (UpdateAlertView *)alertWithNew:(NSString *)newVersion Content:(NSString *)content isForce:(BOOL)isForce url:(NSString *)url;

+ (instancetype)updateWithVersion:(NSString *)newVersion
                           webUrl:(NSString *)webUrl
                          itemUrl:(NSString *)itemUrl
                          content:(NSString *)content
                          isForce:(BOOL)isForce
                         complete:(void (^)(BOOL isLatest))complete;

@end

@interface ZJUpdateManager : NSObject
- (void)checkOnVC:(UIViewController *)vc complete:(void (^)(BOOL isLatest))complete;

@end
