SwiftUI工程中引入DoKit
可以在首页的onAppear中引入
.onAppear {
#if DEBUG
if !DoraemonManager.shareInstance().isShowDoraemon() {
DoraemonManager.shareInstance().install(withStartingPosition: .init(x: screenSize.width - 60, y: 600))
}
#endif
}
SwiftUI工程中引入DoKit
可以在首页的onAppear中引入
.onAppear {
#if DEBUG
if !DoraemonManager.shareInstance().isShowDoraemon() {
DoraemonManager.shareInstance().install(withStartingPosition: .init(x: screenSize.width - 60, y: 600))
}
#endif
}