标签:style class bsp cat reason modal cti trie row
erminating app due to uncaught exception ‘NSInvalidArgumentException‘, reason: ‘Application tried to present modally an active controller <ViewController: 0x145d0b9f0>.‘
*** First throw call stack:
(0x18f4b7180 0x18e68f9f8 0x1bb70cec8 0x1bb70f3a8 0x1bb727e9c 0x1bb72425c 0x1bb723f34 0x1bc12fd1c 0x1bc106a74 0x1bc107048 0x1bc1070e8 0x193a063c8 0x101270c78 0x10127e6fc 0x18f448b20 0x18f443a58 0x18f442fb4 0x19164479c 0x1bbca4c38 0x100f35090 0x18ef068e0)
libc++abi.dylib: terminating with uncaught exception of type NSException
报错提示:应用程序试图以模式呈现一个活动控制器
原因暂时没找到
解决办法
static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ [self presentViewController:self.bleCloseAlertC animated:YES completion:nil]; });
标签:style class bsp cat reason modal cti trie row
原文地址:https://www.cnblogs.com/kc1995/p/14095581.html