[英]getting previous version rather than latest version through CFBundleShortVersionString while app is updated in iOS swift
I am getting app version from given code 我正在从给定的代码获取应用程序版本
let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String
I have updated app from app store and, when app get the app version from above code app return preview version instead of latest version. 我已经从应用商店更新了应用,并且当应用从上述代码获取应用版本时,应用会返回预览版本,而不是最新版本。 why app app not give the latest version of app while app updated successfully from app store 从应用商店成功更新应用时,为什么应用未提供最新版本的应用
This problem automatically solved. 这个问题自动解决。 Means some time Appstore take extra time to reflect version in app while, build is already updated. 意味着Appstore需要花费一些时间来反映应用中的版本,而构建已经更新。
After one day app store show update option and when updated the app versioning problem became solved. 经过一天的应用商店显示更新选项,并在更新后解决了应用版本控制问题。 Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.