I think you can do this by adding it on top of the application window (this is UIWindow, a subclass of UIView)
UIView *myView = ;
UIWindow *currentWindow = [UIApplication sharedApplication].keyWindow;
[currentWindow addSubview:myView];
Took the code fooobar.com/questions/55179 / ...
Or you can add to UITabBarController.view directly, since UIView spans the entire screen.
You need to make a custom presentation.
source
share