Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 983 Bytes

hp_sdk.md

File metadata and controls

29 lines (23 loc) · 983 Bytes

Enable Print at Home Functionality with HP Print SDK

Kite SDK provides offers integrated print-at-home functionality with the HP Print SDK.

Kite

Installation with CocoaPods

pod 'MobilePrintSDK', '~> 3.0.9'

Usage

Enable by setting the showPrintAtHome property of OLKiteViewController to true.

Objective-C:

OLKiteViewController *kiteViewController = [[OLKiteViewController alloc] initWithAssets:assets];
kiteViewController.showPrintAtHome = YES;
[self presentViewController:kiteViewController animated:YES completion:NULL];

Swift:

let kiteViewController = OLKiteViewController.init(assets: [OLAsset(url: URL(string: "http://psps.s3.amazonaws.com/sdk_static/4.jpg"))])
kiteViewController.showPrintAtHome = true
present(kiteViewController!, animated: true, completion: nil)

Please note that only the first asset passed to KiteViewController will be available for print with the Print at Home functionality.