In my application, I sometimes show a message to the user, and I want it to be on top of everything (even the keyboard), as UIAlertView did.
I searched for it and found a solution that:
[[[[UIApplication sharedApplication] delegate] window] addSubview:myViewOnTop];
It works. However, this is not documented, so I think Apple will not accept it, right?
What do you think about it? Do you know the Apple-inherited way to do this?
thanks
Vincent
source share