Get the current version, compare the online version, and then decide whether to update the current version: //////get info.plist file contents nsdictionary *infodic = [[nsbundle mainbundle] infodictionary]; ////gets build nsstring *appversion = in general . [infodic objectforkey:@ "Cfbundleversion"]; ////get the in general version nsstring *currentversion = [infodic objectforkey:@ " Cfbundleshortversionstring "]; online version: 1, POST request mode:/HTTP Itunes.apple.com/search?term= your application name &entity=software 2, http://itunes.apple.com/ Lookup?id= " apple id in Tunes connect" get: with 2 nsdictionary *dicversion = [nsjsonserialization jsonobjectwithdata: dataes options:0 error:nil];   nsmutablearray *arrayversion = [nsmutablearray arraywitharray:[dicversion objectforkey:@ "Results"]]; nsdictionary *resultsversion = [arrayversion objectatindex:0]; nsstring *lastversion = [resultsversion objectforkey:@ "Version"]; nsstring *trackviewurl = [resultsversion objectforkey:@ "Trackviewurl"]; decide whether to update: if ([Arrayversion count]) { if (![ Lastversion isequaltostring:currentversion]) { ////Update }else{ ////not updated } } ////Official Document: www.apple.com/itunes/affiliates/resources/documentation/ itunes-store-web-service-search-api.htm////////Update reminder:- (void) Alertview: (uialertview *) alertView Clickedbuttonatindex: (Nsinteger) buttonindex{ if (alertview.tag==888) { if (buttonindex==0) { NSURL *url = [NSURL URLWithString:trackViewUrl]; [[uiapplication sharedapplication] openurl:url]; } }}
IOS version Update