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.
The same problem occurs if hide the status bar in presented viewController. If present a viewController, the hide status bar, and next dismiss, the same problem occurs.
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
And im my initial viewController, i configurate the collectionView like this:
Thanks in advance for any help.