PSLoginViewController
全部标签 我正在尝试在我的应用程序委托(delegate)中创建一个模态视图Controller(我创建了一个名为showLoginView的函数)。但是每当我尝试调用它时,我都会在XCode中收到警告:Warning:Attempttopresentonwhoseviewisnotinthewindowhierarchy!方法代码如下:-(void)showLoginView{PSLoginViewController*loginViewController=[[UIStoryboardstoryboardWithName:@"MainStoryboard"bundle:NULL]instan
我正在尝试在我的应用程序委托(delegate)中创建一个模态视图Controller(我创建了一个名为showLoginView的函数)。但是每当我尝试调用它时,我都会在XCode中收到警告:Warning:Attempttopresentonwhoseviewisnotinthewindowhierarchy!方法代码如下:-(void)showLoginView{PSLoginViewController*loginViewController=[[UIStoryboardstoryboardWithName:@"MainStoryboard"bundle:NULL]instan