Features
- Instagram will now show paged results.
Bug Fixes
- Fixed Facebook permissions error.
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 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.
CocoaPods
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
- AssetsLibrary
- CFNetwork
- CoreGraphics
- CoreImage
- ImageIO
- MapKit
- MobileCoreServices
- 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"
sourceID:@"sourceID"
password:@"password"
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.