AppKit WebView integration

AppKit WebView let you easily monetize your app showing a web page with a list of apps. The Instal SDK execute the download and all the tracking automatically.

Instal Publisher SDK Integration


Before integrating interstitial ads in your app, you’ll need to go through the steps in our Getting Started Guide to integrate the SDK into your project.

To make a request you'll need layout_id that you can find in your panel.


INDiscoveryWebView is a subclass of UIView you'll need to include it in your layout through Interface Builder or programmatically.

#import "INDiscoveryWebView.h"
@property (weak, nonatomic) IBOutlet INDiscoveryWebView *discoveryView;

To load application in INDiscoveryWebView call loadWithLayoutID: with your layout_id

[self.discoveryView loadWithLayoutID:@"23"];

Optionally you can implement INDiscoveryWebViewDelegate to have a feedback on loading status

self.discoveryView.delegate = self;
#pragma mark - INDiscoveryWebViewDelegate
- (void)dicoveryWebViewDidLoad:(INDiscoveryWebView *)discoveryWebView {
    NSLog(@"Banner loaded");

- (void)dicoveryWebViewFailedToLoad:(INDiscoveryWebView *)discoveryWebView error:(NSError *)error{
    NSLog(@"Error loading banner: %@", error);

Manual UIWebView Integration

You can manually integrate AppKit WebView using UIWebView:

@property (nonatomic, weak) IBOutlet UIWebView *webView;

To make a request you first need to find your layout_id in your panel.

NSString *wallkitURLString = [NSString stringWithFormat:@"", layoutID];
NSURL *wallKitURL = [NSURL URLWithString:wallkitURLString];
NSURLRequest *request = [[NSURLRequest alloc] initWithURL:wallKitURL];
[self.webView loadRequest:request];

You might want to handle UIWebViewDelegate to receive loading status by implementing:

- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error;

- (void)webViewDidFinishLoad:(UIWebView *)webView;