UIDocumentInteractionController - Change background Color and prevent status bar popup

旧时模样 提交于 2019-12-23 07:39:01

问题


When I use the UIDocumentInteractionController it's background color is always white in the beginning and when I tap it, it gets black (and back when tapped again).

Can I somehow invert this or even set a custom background color for both modes?

Another interesting bug is that once I touch the screen the status bar (which I have disabled) pops back up. So white screen with document --> tap screen --> black background with status bar --> tap white screen withs status bar.

Once I dismiss that UIDocumentInteractionController, I disable the status bar again but it looks really ugly.

I've got the info.plist set up correctly with UIViewController-wise decided status bar appearence set to NO.

来源:https://stackoverflow.com/questions/23705492/uidocumentinteractioncontroller-change-background-color-and-prevent-status-bar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!