<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/show-a-popover-on-iphone-in-swiftui-kft0jzazb" -->

---
title: Show a popover on iPhone in SwiftUI | daily.dev
description: Starting with iOS 16.4, SwiftUI developers can use the `presentationCompactAdaptation(_:)` modifier to force popover presentation on iPhone instead of the...
canonical: https://daily.dev/posts/show-a-popover-on-iphone-in-swiftui-kft0jzazb
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Show a popover on iPhone in SwiftUI | daily.dev
og:description: Starting with iOS 16.4, SwiftUI developers can use the `presentationCompactAdaptation(_:)` modifier to force popover presentation on iPhone instead of the...
og:url: https://daily.dev/posts/show-a-popover-on-iphone-in-swiftui-kft0jzazb
og:image: https://api.daily.dev/og/posts/kfT0jzAzB.png
og:image:alt: Show a popover on iPhone in SwiftUI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Show a popover on iPhone in SwiftUI

**[Nil Coalescing](https://daily.dev/sources/nilcoalescing)** · 2 min read · 0 upvotes · 0 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://nilcoalescing.com/blog/PopoverOniPhoneInSwiftUI>

## Similar posts on daily.dev

- [Presenting SwiftUI sheets on iPhone Duo](https://daily.dev/posts/presenting-swiftui-sheets-on-iphone-duo-py7zqu9ke) · Nil Coalescing · 0 upvotes · 0 comments
- [SwiftUI has a native WebView in iOS 26](https://daily.dev/posts/swiftui-has-a-native-webview-in-ios-26-r7vnb7uw8) · Sarunw · 1 upvotes · 1 comments
- [Liquid Glass Adaptation in UIKit \+ SwiftUI Hybrid Architecture](https://daily.dev/posts/liquid-glass-adaptation-in-uikit-swiftui-hybrid-architecture-zjhbaignh) · Fatbobman · 0 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift), [#swiftui](https://daily.dev/tags/swiftui)

[View this post on daily.dev](https://daily.dev/posts/show-a-popover-on-iphone-in-swiftui-kft0jzazb)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Show a popover on iPhone in SwiftUI","url":"https://daily.dev/posts/show-a-popover-on-iphone-in-swiftui-kft0jzazb","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/show-a-popover-on-iphone-in-swiftui-kft0jzazb"},"datePublished":"2026-08-02T07:15:16.627Z","dateModified":"2026-08-02T07:35:47.896Z","description":"Starting with iOS 16.4, SwiftUI developers can use the `presentationCompactAdaptation(_:)` modifier to force popover presentation on iPhone instead of the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/36acc51cb4592b5302a336efb29a2df8?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/36acc51cb4592b5302a336efb29a2df8?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Nil Coalescing","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Nil Coalescing","logo":"https://media.daily.dev/image/upload/s--rcEu6sag--/f_auto,q_auto/v1785654899/logos/nilcoalescing?_a=BAMAMicg0","url":"https://daily.dev/sources/nilcoalescing"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/show-a-popover-on-iphone-in-swiftui-kft0jzazb","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ios,swift,swiftui","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Nil Coalescing","item":"https://daily.dev/sources/nilcoalescing"},{"@type":"ListItem","position":3,"name":"Show a popover on iPhone in SwiftUI"}]}
```

