Latest 1.0.4
License MIT
Platforms ios 7.0, requires ARC

LazyPDFKit Build Status

An IOS PDF Framework written in Objective-C

This repo based on and is no longer maintained by its author. I have cloned LazyPDFKit to continue its develop and support.



  • PDF annotation
  • Free hand draw tool
  • Insert text
  • Highlight text
  • Draw line
  • Draw boxes and circle
  • Undo, Redo and Clear
  • Change Color, Size and Opacity
  • Thumbnail View
  • Print
  • Bookmark
  • Email PDF

How to use it

Manual install

Step 1 : Drag and Drop the LazyPDFKit.framework to your project

Step 2 : Enable ‘Copy items if needed’

Step 3 : Add to General -> Embedded Binaries

Pod’s way

Add this into your Podfile

pod 'LazyPDFKit', '~> 1.0.4'

(more info about Cocoapods here(


#import <LazyPDFKit/LazyPDFKit.h>

@interface ViewController ()<LazyPDFViewControllerDelegate>


@implementation ViewController

- (IBAction)open:(id)sender {
    [self openLazyPDF];
- (void)openLazyPDF
    NSString *phrase = nil; // Document password (for unlocking most encrypted PDF files)

    NSArray *pdfs = [[NSBundle mainBundle] pathsForResourcesOfType:@"pdf" inDirectory:nil];

    NSString *filePath = [pdfs firstObject]; assert(filePath != nil); // Path to first PDF file

    LazyPDFDocument *document = [LazyPDFDocument withDocumentFilePath:filePath password:phrase];

    if (document != nil) // Must have a valid LazyPDFDocument object in order to proceed with things
        LazyPDFViewController *lazyPDFViewController = [[LazyPDFViewController alloc] initWithLazyPDFDocument:document];

        lazyPDFViewController.delegate = self; // Set the LazyPDFViewController delegate to self


        [self.navigationController pushViewController:lazyPDFViewController animated:YES];

#else // present in a modal view controller

        lazyPDFViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
        lazyPDFViewController.modalPresentationStyle = UIModalPresentationFullScreen;

        [self presentViewController:lazyPDFViewController animated:YES completion:NULL];

    else // Log an error so that we know that something went wrong
        NSLog(@"%s [LazyPDFDocument withDocumentFilePath:'%@' password:'%@'] failed.", __FUNCTION__, filePath, phrase);

#pragma mark - LazyPDFViewControllerDelegate methods

- (void)dismissLazyPDFViewController:(LazyPDFViewController *)viewController
    // dismiss the modal view controller
    [self dismissViewControllerAnimated:YES completion:NULL];

Note : Check out the demo project if you have any doubt.

Latest podspec

    "name": "LazyPDFKit",
    "version": "1.0.4",
    "summary": "An IOS PDF Framework written in Objective-C.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Mario Perrotta": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "source": {
        "git": "",
        "tag": "v1.0.4",
        "submodules": true
    "source_files": "LazyPDFKit/**/*.{h,m}",
    "resources": "LazyPDFKit/**/*.{xcdatamodeld,png,xib}",
    "requires_arc": true

Pin It on Pinterest

Share This