QIUPresentKit 0.0.4

QIUPresentKit 0.0.4

测试已测试
语言语言 Objective-C Objective-C
许可证 MIT
发布时间最后发布2016年4月

QiuFeng维护。



  • 作者:
  • QiuFeng

模仿iOS内置的邮件应用点击新建后弹出一个编辑邮件的ViewController的效果

Demo

QIUPresentKit

使用方法

#import "QIUPresentKit.h"

UIViewController *nextController = [self.storyboard instantiateViewControllerWithIdentifier:@"EditViewController"];
QIUPresentViewController *controller = [[QIUPresentViewController alloc] initWithViewController:nextController];
//    nextController.topGuide = 80;
//    nextController.scale = 0.9;
//    nextController.duration = 0.1
[self presentViewController:controller animated:YES completion:nil];
//   if you want to presentViewController without animated, use below code:
//   nextController.duration = 0.0
//   [self presentViewController:controller animated:YES completion:nil];

详情见这里

要求

iOS 8.0

安装

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

pod "QIUPresentKit"

作者

QiuFeng, [email protected]

许可证

SUISeagull可以在MIT许可证下使用。有关更多信息,请参阅LICENSE文件。