Post

Replies

Boosts

Views

Activity

I want to determine the current view display in SwiftUI
Hi all. When I go back from background to foreground, I want to determine which view is displayed on the screen, then handle the corresponding logic. Example: I want to define HomeView when it comes back to foreground.
Replies
1
Boosts
0
Views
2.4k
Activity
Jan ’23
Check users using Record Screen from Access Control or third party app
I use RelayKit to record screen in my app, but I want to detect if user use Record Screen from Access Control or third party app. I tried UIScreen.capturedDidChangeNotification but it doesn't check if I'm recording the screen in my app, or using Record Screen from Access Control. Do you have any ideas
Replies
1
Boosts
0
Views
897
Activity
Oct ’21
How to get MacOS version Beta
I want get MacOS version using ProcessInfo.processInfo.operatingSystemVersion.majorVersion, but for MacOS Monterey 12.0 Beta, I see it returns 10.16, how can I know the MacOS is Monterey?
Replies
1
Boosts
0
Views
536
Activity
Oct ’21