文件名称:ios-模仿简书、淘宝弹出效果动画.zip
文件大小:818KB
文件格式:ZIP
更新时间:2022-07-31 12:14:20
弹出视图
https://github.com/LinBling/JianShuPopViewDemo 使用方法 @property (nonatomic, strong) LHCustomModalTransition *transition; ...... //---初始化要弹出跳转的视图控制器 ModalViewController *modalVC = [ModalViewController new]; //---必须强引用,否则会被释放,自定义dismiss的转场无效 self.transition = [[LHCustomModalTransition alloc]initWithModalViewController:modalVC]; //---是否可下拉收起 self.transition.dragable = YES; modalVC.transitioningDelegate = self.transition; //---必须添加这句.自定义转场动画 modalVC.modalPresentationStyle = UIModalPresentationCustom;
【文件预览】:
简书、淘宝弹出效果动画demo
----.DS_Store(6KB)
----JianShuPopViewDemo()
--------.DS_Store(6KB)
--------JianShuPopViewDemoTests()
--------JianShuPopViewDemo()
--------JianShuPopViewDemo.xcodeproj()
--------JianShuPopViewDemoUITests()