Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1
Code to check if there is a new version on the App Store.
License
jaywcjlove/swift-check-update
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Code to check if there is a new version on the App Store, to determine whether an update prompt needs to be shown.
Tip
After the app is released, it will not update immediately on the App Store; it needs to wait 24 hours before it works properly.
Welcome to downloadDevTutor, a cheat sheet app designed to help developers quickly build excellent applications using SwiftUI.
import CheckUpdateCheckUpdate.checkVersion{ isUpdateNeeded, appStoreVersion, currentVersionin // Here it checks whether an update prompt needs to be shown.}CheckUpdate.checkVersion(bundleId:"com.wangchujiang.daybar"){ isUpdateNeeded, appStoreVersion, currentVersionin // appStoreVersion -> "1.0" // currentVersion -> "2.0" // isUpdateNeeded -> false}CheckUpdate.checkVersion(bundleId:"com.wangchujiang.daybar"){ isUpdateNeeded, appStoreVersion, currentVersionin // appStoreVersion -> "2.0" // currentVersion -> "1.0" // isUpdateNeeded -> true}
Licensed under the MIT License.
About
Code to check if there is a new version on the App Store.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.