osx - Swift program floats above sign in screen after sleep -


my program needs stay on top of programs use code , have updating every second.

view.window?.level = int(cgshieldingwindowlevel()) + 1 

now whenever put mac sleep program goes on sign in page. how can avoid problem?


Comments

Popular posts from this blog

string - Using python and postgres, variables within execute function? -

android - How to get the Uri path from a ImageView? -