Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check what version of the app is being used [duplicate]

Possible Duplicate:
How to display the current project version of my App to the user?

Is there a way to check the version number of my app? Is it supplied somewhere once the app is in the App Store?

like image 456
Marty Avatar asked May 28 '11 21:05

Marty


People also ask

Can you duplicate apps on Apple?

How to Duplicate App Icons on an iPhone or iPad. Creating a duplicate copy of an app icon is easy. Find the app in the App Library, then drag a new copy of it onto your Home Screen: Swipe to the App Library at the right edge of all your Home Screens.

Why is my app duplicated?

Reinstalling or Updating the App: When duplicate apps are seen, it might be an app error, so it's better to update the app first and see if the problem still persists or not. Go to Play Store, then to My Apps & Games. You can check for the updates and then install them.

What can happen if your app duplicates functionality found in Apple apps?

Apps that simply duplicate content or functionality create clutter, diminish the overall experience for the end user, and reduce the ability of developers to market their apps. Review the Design section of the App Store Review Guidelines.


1 Answers

I believe this is included in your info.plist file, and can be retrieved with code like this:

[NSString stringWithFormat:@"Version %@",[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleShortVersionString"]]; 
like image 138
Brian Lyttle Avatar answered Oct 08 '22 16:10

Brian Lyttle