Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/93.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
Ios Swift-交互式解雇表单不';我不能工作_Ios_Swift_Uitableview_Uiviewcontroller - Fatal编程技术网

Ios Swift-交互式解雇表单不';我不能工作

Ios Swift-交互式解雇表单不';我不能工作,ios,swift,uitableview,uiviewcontroller,Ios,Swift,Uitableview,Uiviewcontroller,我正在用modalPresentationStyle=.formSheet演示我的UIViewController。除了交互解除该控制器(我从上到下拖动表单表),所有工作都按预期进行。控制器被解除,但它的存在viewcontroller不会向后移动。它的周围仍然有黑色的边缘 如果我使用disclose(动画:completion:)关闭显示的控制器,presentingViewController将按预期向后移动,因此仅当用户通过拖动将其关闭时,它似乎不起作用 如果你需要任何其他细节,请告诉我。

我正在用
modalPresentationStyle=.formSheet
演示我的
UIViewController
。除了交互解除该控制器(我从上到下拖动表单表),所有工作都按预期进行。控制器被解除,但它的
存在viewcontroller
不会向后移动。它的周围仍然有黑色的边缘

如果我使用
disclose(动画:completion:)
关闭显示的控制器,
presentingViewController
将按预期向后移动,因此仅当用户通过拖动将其关闭时,它似乎不起作用


如果你需要任何其他细节,请告诉我。非常感谢。罗伯特,你们找到解决方案了吗?我正在使用xcode 11.3和self。解散(动画:true,完成:nil)工作适合我。@Harish仍然没有任何东西:/@VipinPareek是的,通过编程可以毫无问题地解散,但问题不在于此。问题是关于放弃使用默认的“拖动手势”。若并没有代码,你们认为会有什么帮助?你们能提供项目的链接吗?或者一些工作问题演示?