How can I check Application version on IOS?

Hello, I want to check Application version Code and Name on IOS, and I spent a lot of time to find where it is possible to pull out, but I did not succeed. With android no problems there’s these classes:

pInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
versionName = pInfo.versionName;
versionCode = pInfo.versionCode;

Dear mory4ok12,

you might be looking for

NSDictionary<String, ?> infoDictionary = NSBundle.mainBundle().infoDictionary();
String a = (String) infoDictionary.get("CFBundleShortVersionString");
String b = (String) infoDictionary.get("CFBundleVersion");
1 Like

Thank you very much, it really works for me