不要重复问题!我检查了许多答案并尝试了许多解决方案,但没有任何反应。
我在 上新创建了项目Xcode 11
,并添加SVProgressHUD
了它并显示HUD
它工作正常,但背景组件user interaction
并没有禁用它。目前我已经实现了以下代码:
[SVProgressHUD setDefaultStyle:SVProgressHUDStyleLight];
[SVProgressHUD setDefaultAnimationType:SVProgressHUDAnimationTypeFlat];
[SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeBlack];
[SVProgressHUD showWithStatus:@"Message"] ;
我使用最新版本的SVProgressHUD
and 使用Xcode 11
and iOS 13
。MaskType
不工作,我怎样才能禁用user interaction
?
编辑:
- 它在 Xcode 10 或更低版本的项目上运行良好。