GDPerformanceView-Swift
GDPerformanceView-Swift copied to clipboard
View not displaying on iOS 15
I'm trying to run it on iOS 15 and it isn't displaying. Any clues of what maybe going on?
如果你使用的是场景,初始化添加在下面的方面里,
func sceneDidBecomeActive(_ scene: UIScene) {
#if DEBUG
PerformanceMonitor.shared().start()
#endif
}
因为PerformanceView文件中的func keyWindowScene()过滤的activationState是foregroundActive
Hi, any fix for this I facing the same
Hi, I am having the same issue here
I don't think there is any support for this Library anymore, no update in 2 years
notes PerformanceView line 81
It works for me. Inside AppDelegate
, just use:
func applicationDidBecomeActive(_ application: UIApplication) {
PerformanceMonitor.shared().start()
}
You guys need to uncomment / remove the code snippet in PerformanceView line: 81 if you do not use WindowScene .
I commented it and fixed /* if #available(iOS 13, *) { self.windowScene = PerformanceView.keyWindowScene() } */