封装自定义弹窗,一般来说有两种选择: 在[[[UIApplication sharedApplication] delegate] window]上add自定义view;present一个模态Controller。 转载于:https://www.cnblogs.com/tufei7/p/10721240.html