Can I show "in the modal App Store" in iOS 6?

Can I show the modal view controller in iOS 6 that represents my application in the App Store?

+9
ios iphone ios6 app-store
Oct 18 '12 at 18:25
source share
1 answer

Yes, you can. (IOS6 +)

Take a look at SKStoreProductViewController

NSDictionary *appParameters = [NSDictionary dictionaryWithObject:@"533886215" forKey:SKStoreProductParameterITunesItemIdentifier]; SKStoreProductViewController *productViewController = [[SKStoreProductViewController alloc] init]; [productViewController setDelegate:self]; [productViewController loadProductWithParameters:appParameters completionBlock:^(BOOL result, NSError *error) { }]; [self presentViewController:productViewController animated:YES completion:^{ }]; 
+23
Oct 18 '12 at 20:31
source share



All Articles