- 导入项目
import SFVersionManager- 在根控制器加载完成后执行
SFVersionManager.shared.checkVersion()- 以上代码会自动从 App Store 获取当前 Bundle Identifier对应的 app 最新版本,如果App Store版本大于当前版本会自动弹窗提示
SFVersionManager is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SFVersionManager'Coder.flower, [email protected]
SFVersionManager is available under the MIT license. See the LICENSE file for more info.
