How to implement PartialSheet in project without AppDelegate and SceneDelegate please?
stodevCoding opened this issue · comments
stodev commented
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
Fat Shady commented
struct TestApp: App {
let sheetManager: PartialSheetManager = PartialSheetManager()
var body: some Scene {
WindowGroup {
ContentView()
.environmentObject(sheetManager)
}
}
}
this works man