For a while, presenting a form sheet in SwiftUI, equivalent to the UIModalPresentationStyle.formSheet, was a challenge. On iPadOS 18, with the new presentationSizing() modifier, we can easily achieve this using the form sizing option! #WWDC24 #iOSDev #SwiftUI
https://nilcoalescing.com/blog/FormSheetInSwiftUI/
Present a form sheet in SwiftUI

Starting from iPadOS 18, SwiftUI now allows us to present a form sheet, similar to UIModalPresentationStyle.formSheet.

Nil Coalescing
@natpanferova I feel like you’re gonna have a lot of stuff to write about this summer 😛
@axiixc so many new APIs to try out 🤩