All posts filed under: Development
Sheets in SwiftUI on iPhone do not make the presenting view shrink behind
After solving the problem with SwiftUI adaptive popovers on iPad not dismissing properly on iPhone or in compact split view on iPad in Captionista, I noticed something… If you show a modal sheet on iPhone, if you look closely you can see that the view behind does not shrink backwards as it would with a native UIKit modal presentation since iOS 13.
Are you seeing a weird change in text and image styles when you dismiss a SwiftUI popover?
I noticed that when I dismissed my popover the text was changing its style...
SwiftUI Popover replaces existing popover without moving it or pointing it at the correct view
SwiftUI 2 popovers don't properly update if one was already displayed and you trigger another.
SwiftUI adaptive Popover swipe-to-dismiss is broken
While working on the iPad UI variant for our iPhone video subtitles app Captionista, I noticed that when swiping to dismiss in compact horizontal size class or on iPhone, the popover transition freaks out — as recently as iOS 14.1 and SwiftUI 2.