Skip to content

Example SwiftUI app that forces popovers on all devices, including iPhones.

Notifications You must be signed in to change notification settings

aoverholtzer/PopoverSwiftUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

PopoverSwiftUI

Example SwiftUI app that forces popovers on all devices, including iPhones.

Forcing popovers can only be done in UIKit, by setting the presented view controller's popoverPresentationController.delegate and returning UIModalPresentationStyle.none from adaptivePresentationStyle(for:). The trick, then, is presenting a UIKit popover from SwiftUI.

About

Example SwiftUI app that forces popovers on all devices, including iPhones.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages