pushdeer/ios/Prototype_version/PushDeerClip/PushDeerClipApp.swift
2021-12-23 00:19:55 +08:00

26 lines
586 B
Swift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// PushDeerClipApp.swift
// PushDeerClip
//
// Created by Easy on 2021/12/8.
//
import SwiftUI
@main
struct PushDeerClipApp: App {
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
// store
@StateObject private var store = AppState()
var body: some Scene {
WindowGroup {
ContentView().environmentObject(store).onAppear(perform: {
// appDelegate.device_token = "888"
// print( AppDelegate.device_token + "pushdeer")
})
}
}
}