alberdev / ciaotransitions Goto Github PK
View Code? Open in Web Editor NEWWith Ciao you can make fancy custom push and modal transitions between view controllers
License: MIT License
With Ciao you can make fancy custom push and modal transitions between view controllers
License: MIT License
After opening a viewController using the .vertical (or any other) type, the viewController is presented normally, without problems. However, the problem occurs after dismissing the presented viewController.
The collectionView of the first viewController "loses its position", and the entire app is positioned slightly higher.
In addition the statusBar becomes transparent, and the collectionView starts to appear behind it.
1) In this moment, everything is fine
2) Now, the viewController controller is open
3) Now after dimiss, the top of collectionView is a little higher.
4) And, if a i scroll the collectionView, this happen.
I am presenting the viewController like this
let detailViewController = ScrollFadeViewController()
configurator.dragDownEnabled = true
configurator.dragLateralEnabled = false
let transition = CiaoTransition(style: .vertical, configurator: configurator)
detailViewController.ciaoTransition = transition
detailViewController.transitioningDelegate = transition
detailViewController.modalPresentationCapturesStatusBarAppearance = false
detailViewController.modalPresentationStyle = .fullScreen
detailViewController.hidesBottomBarWhenPushed = true
navigationController?.delegate = transition
present(detailViewController, animated: true, completion: nil)
And im my initial viewController, i configurate the collectionView like this:
feedCollectionView.delaysContentTouches = false
feedCollectionView.dataSource = self
feedCollectionView.delegate = self
feedCollectionView.clipsToBounds = false
feedCollectionView.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 20, right: 0)
feedCollectionView.contentInsetAdjustmentBehavior = .never
Thanks in advance for any help.
It would be great if the existing transitions could adopt the new iOS 13 modal behaviors:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.