Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在任何事件中导航到特定UIViewcontroller时,应用程序仅在iOS 11中崩溃_Ios_Objective C_Uitableview_Uiview_Navigation - Fatal编程技术网

在任何事件中导航到特定UIViewcontroller时,应用程序仅在iOS 11中崩溃

在任何事件中导航到特定UIViewcontroller时,应用程序仅在iOS 11中崩溃,ios,objective-c,uitableview,uiview,navigation,Ios,Objective C,Uitableview,Uiview,Navigation,当我通过DidSelectRowatinexPath从HomeViewController导航名为InvoiceViewController的特定UITableView时,以及通过滑动滑块操作从TimerViewController导航名为InvoiceViewController的UITableView时。应用程序崩溃和编译器,引发以下错误 2017-10-30 14:57:25.181311+0400 FixtrProvider[3667:1496216] desc: -[UIView ad

当我通过DidSelectRowatinexPath从HomeViewController导航名为InvoiceViewController的特定UITableView时,以及通过滑动滑块操作从TimerViewController导航名为InvoiceViewController的UITableView时。应用程序崩溃和编译器,引发以下错误

2017-10-30 14:57:25.181311+0400 FixtrProvider[3667:1496216] desc: -[UIView adjustedContentInset]: unrecognized selector sent to instance 0x102d16010
2017-10-30 14:57:25.181369+0400 FixtrProvider[3667:1496216] name: NSInvalidArgumentException
2017-10-30 14:57:25.181402+0400 FixtrProvider[3667:1496216] user info: (null)
2017-10-30 14:57:25.181466+0400 FixtrProvider[3667:1496216] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIView adjustedContentInset]: unrecognized selector sent to instance 0x102d16010'
*** First throw call stack:
(0x18575fd38 0x184c74528 0x18576d1f8 0x18ef27cc4 0x1857656e4 0x18564b0dc 0x18eefe628 0x18eefe3f0 0x18eefdbc0 0x18eefd8f0 0x18ec18964 0x18ecf4e48 0x18ec16e04 0x18ec16a34 0x18ec1695c 0x18eb6d000 0x18973d0b4 0x189741194 0x1896aff24 0x1896d6340 0x18eb62884 0x1857078b8 0x185705270 0x18570582c 0x1856262d8 0x1874b7f84 0x18ebd3880 0x100e6a47c 0x18514a56c)
libc++abi.dylib: terminating with uncaught exception of type NSException
invoiceViewController的属性
请帮助我找出仅在iOS 11设备中引起的问题。

尝试将第28行中的contentScrollView重命名为另一个名称或删除outlet。

似乎您在这个问题上也有同样的问题@trungduc是的,完全相同..在InvoiceViewControllerok中显示属性的名称,等等,我很快就会编辑这篇文章。@trungduc编辑了这篇文章,请看一看。我删除了contentScrollView出口,它解决了这个问题。。谢谢你能回答这个问题吗?这是我的另一个类似的ios 11版本。。我已经对你的另一个问题作了评论。请看一看。