[![CI Status](http://img.shields.io/travis/Seiya Shimokawa/Snapshooter.svg?style=flat)](https://travis-ci.org/Seiya Shimokawa/Snapshooter)
Snapshooter is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Snapshooter"
Just invoke [Snapshooter enableWithProperties:...]
from your AppDelegate’s application:didFinishLaunchingWithOptions:
method. Also, implement [Snapshooter supportedInterfaceOrientationsForWindow:...]
if your app allows landscape mode.
#import "Snapshooter.h"
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[Snapshooter enableWithProperties:@{}];
}
- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
return [Snapshooter supportedInterfaceOrientationsForWindow:window];
}
Seiya Shimokawa, [email protected]
Snapshooter is available under the MIT license. See the LICENSE file for more info.