Modal 界面切换 XFCoverTransition

软件介绍

XFCoverTransition 内置各种自定义 Modal 界面切换效果,提供手势移除的功能,使用单例对 XFCoverTransitionTouch 对象的管理,多处的多种界面切换效果无需初始化多个对象,使用上方便,具有可配置性强,并支持在不使用系统的 Modal 方式外使用 XFCoverTransitionGesture 类以实现全手势模拟 Modal 的切换效果。

XFCoverTransition usage_touch

自定义 modal:

// 自定义modal
 XFPageViewController *page = [[XFPageViewController alloc] init];
 page.modalPresentationStyle = UIModalPresentationCustom;
 XFCoverTransitionTouch *ctTouch = [XFCoverTransitionTouch sharedInstance];
 ctTouch.config = [XFCTConfig configWithRenderRect:self.view.bounds animationDuration:0.25 transitionStyle:XFCoverTransitionStyleRight2Left];
 // 添加移除手势支持
 ctTouch.config.onlyForModalVCGestureDissmiss = YES;
 page.transitioningDelegate = ctTouch;
 [self presentViewController:page animated:YES completion:nil];

本文地址:https://www.codercto.com/soft/d/8836.html

交互设计

交互设计

. / 刘晓晖、张景 / 电子工业出版社 / 2003-6 / 39.00元

一起来看看 《交互设计》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

MD5 加密
MD5 加密

MD5 加密工具