GDPerformanceView-Swift icon indicating copy to clipboard operation
GDPerformanceView-Swift copied to clipboard

View not displaying on iOS 15

Open joaopdcgarcia opened this issue 3 years ago • 7 comments

I'm trying to run it on iOS 15 and it isn't displaying. Any clues of what maybe going on?

joaopdcgarcia avatar Oct 14 '21 15:10 joaopdcgarcia

如果你使用的是场景,初始化添加在下面的方面里,

 func sceneDidBecomeActive(_ scene: UIScene) {
        #if DEBUG
            PerformanceMonitor.shared().start()
        #endif
    }

因为PerformanceView文件中的func keyWindowScene()过滤的activationState是foregroundActive

excsir avatar Nov 26 '21 03:11 excsir

Hi, any fix for this I facing the same

abdallahnh avatar Jan 25 '22 16:01 abdallahnh

Hi, I am having the same issue here

lionserdar avatar Mar 14 '22 18:03 lionserdar

I don't think there is any support for this Library anymore, no update in 2 years

lionserdar avatar Mar 14 '22 18:03 lionserdar

notes PerformanceView line 81

start141123 avatar Jul 11 '22 09:07 start141123

It works for me. Inside AppDelegate, just use:

    func applicationDidBecomeActive(_ application: UIApplication) {
        PerformanceMonitor.shared().start()
    }

gavingt avatar Sep 05 '22 22:09 gavingt

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() } */

BayramInanc avatar Sep 16 '23 13:09 BayramInanc