ios - 将UITabBarController的view添加到UIScrollView中,显示不出来,只有黑色。
PHP中文网
PHP中文网 2017-04-17 17:28:53
0
3
341

在做新特性展示的时候,发现网易彩票这种显示完最后一张新特性图片后,可以继续滑动到tabbarcontroller,我试了但把tabBar控制的view添加到ScrollView之后,滑动的时候看到的只是黑色,不知为什么。没有像图片上一样显示了主界面的效果。

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(3)
PHPzhong

洪涛

How about another way of thinking? It can be understood that this scrollView is a drawer effect

Add scrollView as a child view of keyWindow

You can take a look at my bad code

https://github.com/loveuqian/ChouTiXiaoGuo

伊谢尔伦

Why should it be added to ScrollView?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template