Overlay a view over whole screen, when using UITabBarController?

后端 未结 5 573
渐次进展
渐次进展 2021-02-08 02:13

I want to overlay a HUD-style transparent graphic over the entire screen in a UITabBarController setup. The button to do this is in the first tab\'s screen (FirstViewController)

5条回答
  •  -上瘾入骨i
    2021-02-08 02:36

    Inspired by rdelmar's answer to another question, I recommend putting your UITabBarController in Container View other ViewController. Then add your hud onto ViewController view.

    screenshot for answer

提交回复
热议问题