一个轻量级的框架,用于在 iOS 应用程序更新后检查发行说明。
随着 iOS 7 的推出,自动应用程序更新 使 App Store 发行说明对最终用户来说变得不太重要。
像 Siren 这样的其他框架会检查可用的更新,而 ReleaseRadar 会检查更新执行后的发行说明。
查看这里的文档:Wiki
.Package(url: "https://github.com/halcyonmobile/ReleaseRadar.git", majorVersion: 0, minorVersion: 2)
pod 'ReleaseRadar'
github "halcyonmobile/ReleaseRadar"
ReleaseRadar 通过公开的 ReleaseRadar 类易于使用。
let releaseRadar = ReleaseRadar(iTunesId: "12345678")
releaseRadar.verify(checkPolicy: .minor) { result in
switch result {
case .updated(let appInfo):
// your app has been updated
// access update information through *appInfo*
case .notUpdated:
// no update was performed
}
}
Apple 是商标,App Store 是 Apple Inc. 在美国和其他国家及地区注册的服务标志。
ReleaseRadar 在 MIT 许可证下发布。 查看 LICENSE 以获取详细信息。
如果您在您的项目中使用这个开源库,请务必注明出处并反向链接到 http://halcyonmobile.com