Latest 1.0.8
License MIT
Platforms ios 7.0, requires ARC
Frameworks Accelerate, AssetsLibrary, CFNetwork, CoreGraphics, CoreLocation, ImageIO, MapKit, MobileCoreServices, QuartzCore, Security, SystemConfiguration, UIKit, LifePics
Authors ,

LifePics iOS SDK Version 1.0.8


LifePics is the market leader in providing retail photofinishers with the latest online imaging services and technologies to conduct business on the Web.

The LifePics OPEN (Open Photo Ecommerce Network) program allows app developers to drive consumer photo orders through the LifePics Network. We will allow you to link your app into our network, and we will pay you a revenue share percentage for every order your app generates.

To learn more about developer revenue share please read the enclosed LifePics Developer Agreement
and review Schedule 1.

To request developer keys from LifePics please email a complete signed copy of the LifePics Developer Agreement to [email protected]. LifePics will generate a set of developer keys and email them back to you. Please see Schedule 1 in the LifePics Developer Agreement on documents to send to LifePics to be eligible for developer revenue share payments.

Please email any questions about the OPEN program to [email protected].

The LifePics iOS SDK

The LifePics SDK allows your iPhone users to select images and have them printed locally at nearby photofinishers.

Users can select images from their photo library, images provided by your application, or, optionally, images from their Facebook, Instagram, Google, or Flickr accounts.


You will need a free LifePics developer key. Details are in the Overview section above.

The SDK supports iOS 7.0 and later.



The easiest way to install the LifePics SDK is using CocoaPods.

platform :ios, '7.0'
pod 'LifePics'

Manual Installation

Put a copy of the LifePics.framework and LifePics.bundle files anywhere in your project folder.

In Xcode, select your project in the Project Navigator.
Select your app target.
Select the Build Phases tab.
Expand Link Binary With Libraries.
Click the + button, then Add Other, to select and add the LifePics.framework file.

Next, add the following system frameworks (if they’re not already linked to your project:

  • Accelerate
  • AddressBook
  • AssetsLibrary
  • AVFoundation
  • CFNetwork
  • CoreGraphics
  • ImageIO
  • MapKit
  • MobileCoreServices
  • PassKit
  • QuartzCore
  • Security
  • SystemConfiguration

And these libraries:

  • libsqlite3.dylib
  • libxml2.dylib
  • libz.dylib

Now switch to the Build Settings tab and find the Other Linker Flags setting. Add "-ObjC" here, for both Debug and Release.

Add the LifePics.bundle to your target, by selecting Add Files in the Project Navigator.

Import the LifePics headers:

#import <LifePics/LifePics.h>

Connect to the LifePics network by providing your Partner ID, Source ID, and password:

[[LPFSessionManager sharedManager] beginPartnerSessionWithID:@"partnerID"
                                                  completion:^(NSError *error) {
                                                      if ([error code] != 0) {
                                                          // Handle error here.

Finally, present the LifePics Order View controller:

LPFOrderViewController *vc = [[LPFOrderViewController alloc] initWithImageDataSource:nil];
[self presentViewController:vc animated:YES completion:NULL];


You can customize the colors used by the LifePics Order View Controller by setting the primary and secondary colors before presenting it:

LPFOrderViewController *vc = [[LPFOrderViewController alloc] initWithImageDataSource:nil];
vc.primaryColor = [UIColor blueColor];
vc.secondaryColor = [UIColor purpleColor];
[self presentViewController:vc animated:YES completion:NULL];

Further interface customizations can be made using the UIAppearance protocol.

You can also enable Facebook, Instagram, Google, and Flickr access in the Sources view. See the Configure Photo Sources document for details.

Revision History

Version 1.0.8


  • Added a required email address to the Confirm Order view.

  • Added Terms of Service and Privacy Policy links to the Confirm Order view.

  • Improved the error message if access to device photos has been denied.

Version 1.0.7


  • Photo sources are now dimmed until you log into them.

  • You can now log out of a photo source (use the Edit button).

  • The staging server will be used when building in DEBUG mode. Otherwise the production server will be used.

  • When starting a session, a message will be displayed in the Xcode console to let you know if you’re connected to the staging or production server.

  • The Submit Order button will now say “Submit Fake Order” when logged into the staging server.

Bug Fixes

  • The list of photo sources no longer contains unwanted white space at the top when retuning from a photo source.

  • The dialog offering to submit a fake order has been removed.

Version 1.0.6


  • We’ve removed a merchant that no longer wishes to participate in the mobile SDK program.

Version 1.0.5


  • Show detailed image upload progress when ordering.
  • Added the LPFOrderViewControllerDelgate to keep updated on current order status.

Bug Fixes

  • Facebook required permissions minimized to photos only.

Version 1.0.4

Bug Fixes

  • Fixed instructions for configuring Flickr.
  • Fixed permissions request for Facebook so your FB app doesn’t need to be in an approved/reviewed state to test it.
  • Flickr now supports https only.
  • Serialized image uploads to support larger orders.

Version 1.0.3


  • Improved the animation when previewing photos.

Bug Fixes

  • Fixed a bug in the 1.0.2 release that prevented compiling.
  • Removed CoreImage from the documentation as a system framework requirement.

Version 1.0.2


  • Instagram will now show paged results.

Bug Fixes

  • Fixed Facebook permissions error.

Version 1.0.1


  • We’ve added a CocoaPods spec file.
  • Added SmugMug as an image source.
  • Improved store finding when the user’s current location can’t be determined.
  • Now animates from thumbnail view to the single-image preview.
  • Updated the activity indicator.
  • Enabled the status bar network activity indicator.

Bug Fixes

  • Fixed text wrap in the floating navigation buttons.
  • Fixed a photo rotation bug.
  • Fixed a photo source thumbnail aspect ratio bug.
  • Fixed the two crashing bugs.
  • Fixed an image upload bug.

Latest podspec

    "name": "LifePics",
    "version": "1.0.8",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "summary": "The LifePics SDK allows your iPhone users to select images and have them printed locally at nearby photofinishers.",
    "authors": {
        "Dave Batton": "[email protected]",
        "John Blanco": "[email protected]"
    "platforms": {
        "ios": "7.0"
    "source": {
        "git": "",
        "tag": "1.0.8"
    "description": "                   The LifePics SDK allows your iPhone users to select images and have them printed locally at nearby photofinishers.nnttttUsers can select images from their photo library, images provided by your application, or, optionally, images from their Facebook, Instagram, Google, or Flickr accounts.n",
    "screenshots": [
    "source_files": "LifePics.framework/**/*.h",
    "preserve_paths": [
    "resources": "LifePics.bundle",
    "frameworks": [
    "libraries": [
    "requires_arc": true,
    "xcconfig": {
        "HEADER_SEARCH_PATHS": "$(SDKROOT)/usr/include/libxml2",

Pin It on Pinterest

Share This