Starting with iOS 16.4, SwiftUI developers can use the `presentationCompactAdaptation(_:)` modifier to force popover presentation on iPhone instead of the default sheet behavior. By applying `.presentationCompactAdaptation(.popover)` inside the popover's content view, SwiftUI will display a true popover even in compact size classes. A concise code example demonstrates this in a recipe app context.
1 Impression