打个比方,如下图 image.png 1.如果底部是UINavigationController,那么可以在self.navigationController.view addSubView: 2.在window上 add当前的这个View