Skip to content

gtokman/OhSheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OhSheet

Inspired by this X post

demo.mp4

Install

https://github.com/gtokman/OhSheet

API

.sheet(isPresented: $isPresented) {
    Text("FullScreen Sheet")
        .presentationBackground(.blue)
        .fullScreenSheet() // Add this
}
.sheet(isPresented: $isPresented) {
    Text("FullScreen Sheet")
        .presentationBackground(.blue)
        .sheet(with: [.full()]) // detents
}

About

Brings the private API for full screen sheets in UIKit to SwiftUI

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages