[[[[UIApplication sharedApplication] windows] firstObject] addSubview:你要添加的view]; 转载于:https://www.cnblogs.com/lmyailgs/p/4769756.html