Skip to main content

Posts

Showing posts from April, 2018

How To Set App Update Alert In IOS App in Objective C

App Update Alert In IOS App in Objective C The app update alert must be set an your AppDelegate.m file in your  didFinishLaunchingWithOptions   method. - (void)requestUpdate {        NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];        NSString *appID = infoDictionary[@"CFBundleIdentifier"];        NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://itunes.apple.com/lookup?bundleId=%@",appID]];         NSData *data = [NSData dataWithContentsOfURL:url];           if (data != nil) {                 NSDictionary *lookup = [NSJSONSerialization JSONObjectWithData:data options:0                                              ...