Latest 0.1.9
Homepage https://github.com/dahasolutions/DHMoreApps
License MIT
Platforms ios 8.0, requires ARC
Dependencies SDWebImage
Frameworks UIKit
Authors

Description

DHMoreApps is an iOS library created to present a view controller inside your application to show your developer page of apps. It is very similar to the App Store visual.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Just #import the DHMoreApps.h header, and call the one of the methods described below to present the view controller.

#import <DHMoreApps/DHMoreApps.h>

...

- (IBAction)buttonPressed:(id)sender {

    DHMoreApps *moreAppsManager = [DHMoreApps sharedManager];

    [moreAppsManager presentMoreAppsInViewController:self
                                         developerId:@"916400739" // You can find your developer id in your iTunes link of your apps: https://itunes.apple.com/tz/developer/ho-van-dai/id916400739?mt=8
                                     descriptionType:DHDescriptionTypeScreenshots
                                          completion:nil];

    /* 
    // OR
    [moreAppsManager presentMoreAppsInViewController:self
                                              appIds:@[@"app_id_1", @"app_id_2", ...] // The ids of the apps you want to show
                                     descriptionType:DHDescriptionTypeText
                                          completion:nil];
    */

    moreAppsManager.showActionButton = NO;
    moreAppsManager.showPrice = NO;
    moreAppsManager.title = NSLocalizedString(@"More apps", nil);

    moreAppsManager.willDismissBlock = ^{
        NSLog(@"will dismiss more apps view controller");
    };

    moreAppsManager.didDismissBlock = ^{
        NSLog(@"did dismiss more apps view controller");
    };

    moreAppsManager.didSelectAppBlock = ^(NSString *appId){
        NSLog(@"did select app id: %@", appId);
    };
}

Requirements

This library requires iOS 7 and ARC.

Installation

DHMoreApps is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "DHMoreApps"

Or, simply copy all the files into your project.

Author

DHs, [email protected]

License

DHMoreApps is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "DHMoreApps",
    "version": "0.1.9",
    "summary": "DHMoreApps presents a view controller similar to the App Store to show your apps.",
    "description": "DHMoreApps is an iOS library created to present a view controller inside your application to show your developer page of apps. It is very similar to the App Store visual.",
    "homepage": "https://github.com/dahasolutions/DHMoreApps",
    "license": "MIT",
    "authors": {
        "DHs": "[email protected]"
    },
    "source": {
        "git": "https://github.com/dahasolutions/DHMoreApps.git",
        "tag": "0.1.9"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "frameworks": "UIKit",
    "dependencies": {
        "SDWebImage": []
    }
}

Pin It on Pinterest

Share This