可以在窗口添加view
-(UIWindow *)topmostPage{
[[[[UIApplication sharedApplication] windows] objectAtIndex:0] makeKeyWindow];
UIWindow* window = [UIApplication sharedApplication].keyWindow;
if (!window)
{
window = [[UIApplication sharedApplication].windows objectAtIndex:0];
}
return window;
}