OneSky Auto Screenshot Library for iOS
This library automatically uploads screenshots of your app that contains localizable strings to your OneSky project.
NOTE: This library is not designed for distribution on App Store, remember to remove before submission.
Demo video: http://vimeo.com/91641592
Installation
- Locate
OneSkyScreenshotHelper.framework
in the example project and drag the folder into the Frameworks section of your Project Navigator. - Make sure
CoreGrahpics.framework
is also added to your app's target. - Under Build Settings of the target, add
-ObjC
to Other Linker Flags setting.
Integration
Import the library header
#import <OneSkyScreenshotHelper/OneSkyScreenshotHelper.h>
Add the following code in under -application:didFinishLaunchingWithOptions:
in your app delegate:
[[OneSkyScreenshotHelper sharedHelper] setProjectId:ONESKY_PROJECT_ID];
[[OneSkyScreenshotHelper sharedHelper] setApiKey:ONESKY_API_KEY];
[[OneSkyScreenshotHelper sharedHelper] setApiSecret:ONESKY_API_SECRET];
[[OneSkyScreenshotHelper sharedHelper] startSession];
ONESKY_API_KEY
, ONESKY_API_SECRET
can be found in Site Settings under API Keys & Usage on OneSky Web Admin.
ONESKY_PROJECT_ID
can be found under All Projects page.
NOTE: The above parameters must be set before calling -startSession
.
Advance Settings
Turn off capture status ui.
[[OneSkyScreenshotHelper sharedHelper] setShowsCatpureStatus:NO];