Closed huguesfcadets closed 3 years ago
This sounds like the traitCollection bug. I believe that my last submission fixes it.
I integrated your previous changes, and unfortunately it does not fix that issue... Need to do more testing. Maybe I made an error while integrating your changes. I remember having a lot of trouble with that show or hide function. I though I fixed it, but apparently I made it worst... It is not clear why it uses the traitCollection.horizontalSizeClass to decide wether or not to display the Done button (or dismiss or other similar buttons). For reference here is when horizontalSizeClass is compact vs Regular, it appears to me that it is not what we should base the decision to display the button or not. Any thoughts?
ref: https://developer.apple.com/documentation/uikit/uitraitcollection
The changes are now on branch hugues-63-done-button. I'll continue the work from there.
Assyst ticket 8153199.
It does not show in any iPad version with any iOS version.
It does show on iPhone in portrait. Not in landscape.