Inherits from SKStoreProductViewController
Declared in SPTStoreViewController.h

Overview

A Store View Controller to allow a user to download the Spotify iOS app.

To present the store controller on top of your view controller:

SPTStoreViewController *storeVC = [[SPTStoreViewController alloc] initWithCampaignToken:@"your_campaign_token" storeDelegate:self];
[self presentViewController:storeVC animated:YES completion:nil];

Properties

campaignToken

The Spotify-provided campaign token. Must be less than 40-bytes.

@property (nonatomic, copy, readonly) NSString *campaignToken

Declared In

SPTStoreViewController.h

Class Methods

new

Unavailable, use the designated initializer.

+ (instancetype)new

Declared In

SPTStoreViewController.h

Instance Methods

init

Unavailable, use the designated initializer.

- (instancetype)init

Declared In

SPTStoreViewController.h

initWithCoder:

Unavailable, use the designated initializer.

- (instancetype)initWithCoder:(NSCoder *)aDecoder

Declared In

SPTStoreViewController.h

initWithNibName:bundle:

Unavailable, use the designated initializer.

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil

Declared In

SPTStoreViewController.h