Open chenliqian opened 6 years ago
ipad获取rootviewcontroller会崩溃,需要添加一下 alertController.popoverPresentationController.sourceView = [self getCurrentVC].view; alertController.popoverPresentationController.sourceRect = CGRectMake(0,0,1.0,1.0);
@chenliqian 谢谢分享!
ipad获取rootviewcontroller会崩溃,需要添加一下 alertController.popoverPresentationController.sourceView = [self getCurrentVC].view; alertController.popoverPresentationController.sourceRect = CGRectMake(0,0,1.0,1.0);