DAAppsViewController is a simple way of displaying apps from the App Store in an aesthetically similar manner.
DAAppsViewController
is a simple way of displaying apps from the App Store in a similar UI/UX. The user is able to view each app’s App Store page by launching an instance of SKStoreProductViewController
. Particularly useful for showing an app developer’s other apps.
For SwiftUI, you should use AppsView
By ArtistId | By List of AppIds | By Search Term |
---|---|---|
Requires iOS 12.0+
pod 'DAAppsViewController'
@import DAAppsViewController;
DAAppsViewController
folder to your project folder.#import "DAAppsViewController.h"
Example project included (DAAppsViewControllerExample)
DAAppsViewController *appsViewController = [[DAAppsViewController alloc] init];
[appsViewController loadAppsWithArtistId:356087517 completionBlock:nil];
[self.navigationController pushViewController:appsViewController animated:YES];
By appId:
NSArray *appsArray = @[@575647534,@498151501,@482453112,@582790430,@543421080];
DAAppsViewController *appsViewController = [[DAAppsViewController alloc] init];
appsViewController.pageTitle = @"Apps by XXX"; // Optional
[appsViewController loadAppsWithAppIds:appsArray completionBlock:nil];
[self.navigationController pushViewController:appsViewController animated:YES];
By bundleId:
NSArray *bundlesArray = @[@"com.flexibits.fantastical.iphone",@"com.samvermette.Transit",@"com.tripsyapp.tripsy",@"com.seatgeek.SeatGeek",@"com.bumptechnologies.flock.Release"];
DAAppsViewController *appsViewController = [[DAAppsViewController alloc] init];
[appsViewController loadAppsWithBundleIds:bundlesArray completionBlock:nil];
[self.navigationController pushViewController:appsViewController animated:YES];
DAAppsViewController *appsViewController = [[DAAppsViewController alloc] init];
[appsViewController loadAppsWithSearchTerm:@"Radio" completionBlock:nil];
[self.navigationController pushViewController:appsViewController animated:YES];