Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View not displaying on iOS 15 #35

Open
joaopdcgarcia opened this issue Oct 14, 2021 · 7 comments
Open

View not displaying on iOS 15 #35

joaopdcgarcia opened this issue Oct 14, 2021 · 7 comments

Comments

@joaopdcgarcia
Copy link

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

@excsir
Copy link

excsir commented Nov 26, 2021

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

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

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

@abdallahnh
Copy link

Hi,
any fix for this I facing the same

@lionserdar
Copy link

Hi, I am having the same issue here

@lionserdar
Copy link

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

@start141123
Copy link

notes PerformanceView line 81

@gavingt
Copy link

gavingt commented Sep 5, 2022

It works for me. Inside AppDelegate, just use:

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

@BayramInanc
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants