Creating new UIWindows, capturing a key window is bad practice?

I am working on an application that should display an overlay on top of everything else. He does this by creating a new UIWindow interface and using makeKeyAndVisble to "capture" the screen. When this is done, it will return the original UIWindow again.

Is it really bad? It seems that it controls the application at a low level, which is usually bad; on the other hand, it is very simple to do, so perhaps it is quite acceptable.

opinions / experience?

+5
source share
1 answer

In my experience, it’s great to add another one UIWindowon top of the standard one.

, . , SDK iOS SDK MacOS, , : iOS ( , ).

, S.O.

, .

+4

All Articles