Post

Replies

Boosts

Views

Activity

Enumerate the desktops (spaces) in each NSScreen
Hi all, I'm currently implementing a feature that performs customized behavior in each desktop (space). As far as I know, Apple does not have an API that can enumerate all spaces under each screen. I've only found a way that can get all spaces, but cannot find any method on how to determine each space belongs to which screen. Can somebody help me out? Thanks in advance.
1
0
1.4k
May ’22
External display won't turn on when waking up mac
Hi all, I have a Mac mini connected to an external monitor. When I leave Mac sleep for a while, the external monitor will enter sleep mode (power light starts breathing). If I press Enter, the monitor won't wake up. I have to power on again to let it display normally. Is this a bug of Apple? The windows system will act normally in the same scenario. Thanks!
0
0
381
Jul ’21
M1 mac textfield is uneditable
Hi all, I have 2 M1 Macs (let's say A and B), A installed with 2 macOS: macOS 11.3 and macOS 12, while B only installed with macOS 11.3. I encountered a weird issue: In A, the textfield is editable in 11.3 but won't work in 12. In B, 11.3 surprisingly cannot work! Do you have any idea about this? I was thinking of some privacy or keyboard settings, but I can't find any difference between the 2 Macs. Could somebody help me out? Thanks in advance.
1
0
664
Jun ’21
Third party SDK returns incorrect value after notarizing my App
I'm facing a pretty weird issue. I have a function GetInfoA() which returns the value processed from the SDK API. Everything is normal until the app is notarized from Xcode. The value returned from GetInfoA() will be incorrect. I have NO idea why this happened because all the other functions from the API return the correct value, which means the SDK is working properly... right? Could anyone give me a hint on how to debug it? I'm clueless. Thanks in advance.
1
0
503
Jun ’21