Skip to content

Commit 526277c

Browse files
committed
修改README文件
1 parent c985eb3 commit 526277c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,19 @@
77

88
## Example
99

10-
To run the example project, clone the repo, and run `pod install` from the Example directory first.
10+
1. 导入项目
11+
```swift
12+
import SFVersionManager
13+
```
14+
2. 在根控制器加载完成后执行
15+
```swift
16+
SFVersionManager.shared.checkVersion()
17+
```
18+
3. 以上代码会自动从 App Store 获取当前 Bundle Identifier对应的 app 最新版本,如果App Store版本大于当前版本会自动弹窗提示
19+
20+
1121

22+
![示例图片](example.jpg)
1223
## Requirements
1324

1425
## Installation

example.jpg

28.3 KB
Loading

0 commit comments

Comments
 (0)