简体   繁体   English

ViewController 显示为透明并在后台显示另一个屏幕

[英]ViewController is appearing transparent and showing another screen in background

Created this app long before the update for Xcode 11. While testing my app, I happen to notice that when I seque to another screen, I can see the screen but I can also see another screen in the background.在 Xcode 11 更新之前很久就创建了这个应用程序。在测试我的应用程序时,我碰巧注意到当我转到另一个屏幕时,我可以看到屏幕,但我也可以在后台看到另一个屏幕。

图片

you will notice these things in the background are from another view controller, are appearing: - the title (should only be the image of a user) - the background pic (this background should be white) - the "what are you?"你会注意到背景中的这些东西来自另一个视图控制器,正在出现: - 标题(应该只是用户的图像) - 背景图片(这个背景应该是白色的) - “你是什么?” message - rider and driver buttons消息 - 骑手和司机按钮

Any idea why?知道为什么吗?

我将附加到相关视图控制器的导航控制器的 Presentation 属性设置为 .fullscreen。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS 7:透明的Viewcontroller背景在另一个具有不同方向行为的Viewcontroller上 - IOS 7: Transparent Viewcontroller Background over another Viewcontroller with different Orientation behaviour 如何将一个ViewController或View加载到具有透明背景的另一个ViewController中? - How can I load a ViewController or View into another ViewController with transparent background? 推ViewController与透明背景 - Push ViewController with transparent background 情节提要ViewController中的透明背景 - transparent background in storyboard viewcontroller iOS:具有透明背景的Modal ViewController - iOS: Modal ViewController with transparent background UIModalPresentationCurrentContext不显示透明背景 - UIModalPresentationCurrentContext not showing transparent background 在具有透明背景的Alert ViewController的中心添加图像 - Add image on center of Alert ViewController with transparent background 如何使Popup ViewController的背景透明? - How to make a transparent background of Popup ViewController? 如何将 ViewController 呈现为具有透明背景的弹出式 VC? - How to present ViewController as popup VC with transparent background? 如何推送具有透明背景的新viewController? - How to push a new viewController with Transparent Background?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM