AndreaMiotto / PartialSheet

A SwiftUI Partial Sheet fully customizable with dynamic height

Home Page:https://github.com/AndreaMiotto/PartialSheet/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to implement PartialSheet in project without AppDelegate and SceneDelegate please?

stodevCoding opened this issue · comments

My project is built for iOS14 and i have no AppDelegate or SceneDelegate. I can not find a solution to implement PartialSheet someone can help me?

thanks in advance

struct TestApp: App {
    let sheetManager: PartialSheetManager = PartialSheetManager()
    var body: some Scene {
        WindowGroup {
            ContentView()
                .environmentObject(sheetManager)
        }
    }
}

this works man