iPhone SDK Tutorial: Printing in iOS 4.2

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,351
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 23, 2010

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (PuchkoffDevelopment)

  • Another awesome Xmas present 'SDK Tutorials' !!! I am downloading it now! Well done my friend! What a great idea for an app, an app for app developers!

  • @filminvoice Thanks!  I hope you like it!

  • Respond to this video...  An update is coming out in early 2010.

  • Thank you ! Thank you ! Thank you!

    You have just given me an early Xmas present!

    I have been searching high and low for a basic tutorial on implementing the print functionality into my app, and now I have it. I needed to have the ability to print a created PDF and thanks to you that is a reality!

    Have a wonderful Christmas and Happy New Year! I know I will because my app can print now!

    Woo Hoo!

  • @filminvoice Thank you!

    Get SDKTutorials HD to support me!

    Update 2.0 is coming with better design and AirPrint!

see all

All Comments (9)

Sign In or Sign Up now to post a comment!
  • This is not a tutorial, its marely "copy my code and I wont explain what its doing"

  • Thanks dude. Very nice and clear tutorial. Helped a lot.

  • great tutorial...

    would love to see how to PRINT CONTENTS of a tableview!!! that would be awesome!!!

    thanks again!!!

  • P.s If you want to access the NSDocumentDirectory and not the NSBundle to print files, use this code:

    NSArray *documentPath = NSSearchPathForDirectoriesInDo­mains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *saveDirectory = [documentPath objectAtIndex:0]; NSString *saveFileName = @"TheNameOfYourFile.pdf"; NSString *path = [saveDirectory stringByAppendingPathComponent­:saveFileName]; NSData *myData = [NSData dataWithContentsOfFile:path];

    Cheers

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more