Is it possible to overlay an image on top of the entire iOS app?
1 answer
Add the PNG to a new window that overlays everything else:
UIWindow *totalOverlayWindow = [[UIWindow alloc] init];
totalOverlayWindow.frame = [[UIScreen mainScreen] bounds];
totalOverlayWindow.userInteractionEnabled = NO;
totalOverlayWindow.windowLevel = UIWindowLevelStatusBar + 1;
[totalOverlayWindow makeKeyAndVisible];
This window will now be above everything else.
+6
source to share