Latest 1.0.9
Homepage https://github.com/swiftmanagementag/VXPromotionViewController
License MIT
Platforms ios 7.0, requires ARC
Frameworks StoreKit, CoreImage
Authors

VXPromotionViewController is a simple inline and cross promotion display for your iOS 7 app.
It can load the app information from the Apple AppStore or from your own JSON source.
You can specify specific apps or load available apps for a publisher.

VXPromotionViewController

VXPromotionViewController features:

  • iPhone and iPad distinct UIs
  • full landscape orientation support

Release notes

1.0.9

Move to resource bundles

1.0.8

Some minor changes to improve compatability with IOS10

1.0.7

Added loading indicator in status bar for longer running tasks
Fixed automatic language error for certain locales
Added localisations (thanks for corrections)
Recompiled and fixed warnings under XCode 7.2.1

Installation

CocoaPods

If you want to use VXPromotionViewController with CocoaPods
pod 'VXPromotionViewController', :head

Manually

  • Drag the VXPromotionViewController/VXPromotionViewController folder into your project.
  • #import "VXPromotionViewController.h"

Usage

(see sample Xcode project in /Demo)

Just like any UIViewController, VXPromotionViewController can be pushed into a UINavigationController stack:
If you specify your app id, a rating and share button is displayed

VXPromotionViewController *promoViewController = [[VXPromotionViewController alloc] initWithAddress:@"http://www.swift.ch/api/ch/de"];
promoViewController.appID = @"499346672";
[self.navigationController pushViewController:promoViewController animated:YES];

It can also be presented modally using VXPromotionModalViewController:

VXPromotionModalViewController *promoViewController = [[VXPromotionModalViewController alloc] initWithArrayOfAppIDs:@[@"499346672", @"450499218", @"742018969"]];
promoViewController.appID = @"499346672";
[self presentViewController:promoViewController animated:YES completion:NULL];

Credits

VXPromotionViewController is based on Sam Vermettes SVWebViewController.
VXPromotionViewController is brought to you by Swift Management AG and contributors to the project. If you have feature suggestions or bug reports, feel free to help out by sending pull requests or by creating new issues. If you’re using VXPromotionViewController in your project, attribution is always appreciated.

Latest podspec

{
    "name": "VXPromotionViewController",
    "version": "1.0.9",
    "summary": "A simple display of promoted apps.",
    "homepage": "https://github.com/swiftmanagementag/VXPromotionViewController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Graham Lancashire": "[email protected]"
    },
    "source": {
        "git": "https://github.com/swiftmanagementag/VXPromotionViewController.git",
        "tag": "1.0.9"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "VXPromotionViewController/**/*.{h,m}",
    "frameworks": [
        "StoreKit",
        "CoreImage"
    ],
    "resource_bundles": {
        "VXPromotionViewController": [
            "VXPromotionViewController/**/*.{bundle,xib,png,lproj}"
        ]
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This