iOS软件检查更新,每次启动检测Appstore是否有更新,每一次更新只提醒一次

iOS软件检查更新,每次启动检测Appstore是否有更新,每一次更新只提醒一次

Version 1.0.2

1.无需填写AppStoreID即可查询
2.一句话简单整合版本更新
3.添加了https://github.com/whde/Alert 的Framework, 无需改动即可使用Alert弹出框提示

pod 'WhdeVersion', '~> 1.0.2'

使用:

  • 将Version文件夹导入到项目中
  • 导入头文件
#import "VersionManage.h"
  • 写入代码
[VersionManage checkVerSion];

PS:

AlertView推荐使用https://github.com/whde/Alert

pod 'Alert', '~> 1.0.3'
  • 这个Alert兼容iOS7以上
  • 支持居左/居中/居右对齐
  • 同时支持设置行间距
  • 使用方式和UIAlertView一样
  • Alert同时还支持Block形式
  • 支持横竖屏切换


    效果图

猜你喜欢

转载自blog.csdn.net/whde_006/article/details/50885058