- iOS whose view is not in the win
- 告警框(UIAlertView)
- 2018-01-16whose view is not in t
- 【iOS开发】whose view is not in the
- IOS 开发中 Whose view is not in the
- whose view is not in the window
- whose view is not in the window
- whose view is not in the window
- whose view is not in the window
- whose view is not in the window
原因:不是用当前栈顶的控制器调用present方法就会出现这个问题
用栈顶的控制器调用present就行了 或者获取当前window的根控制器
UIViewController*top=[UIApplicationsharedApplication].keyWindow.rootViewController;
[top presentViewController:secondView animated:YES completion:nil];








网友评论