Snapshooter 0.1.3

Snapshooter 0.1.3

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最后发布2015年11月

Seiya 维护。



  • 作者
  • Seiya Shimokawa

安装

Snapshooter可以通过CocoaPods获得。要安装它,只需将以下行添加到您的Podfile中

pod "Snapshooter"

用法

只需从AppDelegate的application:didFinishLaunchingWithOptions:方法调用[Snapshooter enableWithProperties:...]即可。如果您的应用程序支持横屏模式,请实现[Snapshooter supportedInterfaceOrientationsForWindow:...]

#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可在MIT许可证下使用。更多信息请参阅LICENSE文件。