文章来源:淘论文网   发布者: 毕业设计   浏览量: 25



还可以点击去查询以下关键词:
[XLBubble]    [定制]    [Transition]    [XLBubble定制Transition]   

项目介绍:

XLBubbleTransition功能说明

适用于ViewController通过UINavigation的Push和Pop切换时的转场动画。

适用于ViewController通过Present和Dismiss切换时的转场动画。

显示效果

)

使用方法

以ViewControllerA切换到ViewControllerB为例:

1、 通过Navigation的Push和Pop进行切换时:

在ViewControllerA中导入头文件:UIViewController+XLBubbleTransition.h


添加如下代码,设置push和pop设置动画,开题报告开题报告,并设置锚点。

self.xl_pushTranstion = [XLBubbleTransition transitionWithAnchorRect:button.frame]; self.xl_popTranstion = [XLBubbleTransition transitionWithAnchorRect:button.frame]; 2、 通过Present和Dismiss进行切换时:

首先在ViewControllerB中导入头文件:UIViewController+XLBubbleTransition.h


添加如下代码,设置Present和Dismiss设置动画,并设置锚点。

self.xl_presentTranstion = [XLBubbleTransition transitionWithAnchorRect:button.frame]; self.xl_dismissTranstion = [XLBubbleTransition transitionWithAnchorRect:button.frame];

github地址:
https://github.com/mengxianliang/XLBubbleTransition


这里还有:


还可以点击去查询:
[XLBubble]    [定制]    [Transition]    [XLBubble定制Transition]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/7421.docx
  • 上一篇:数字显示,添毕业设计加数字滚动效果
  • 下一篇:V2EX的第三方定制应用 - VeXplore