jogging20
V2EX  ›  Apple

ios uiwindow 界面上下都有一块黑 。。外连的图,大家用的是哪个网站的?

  •  
  •   jogging20 · Aug 2, 2016 · 3178 views
    This topic created in 3580 days ago, the information mentioned may be changed or developed.

    模仿百思不得解项目。 uiwindow 的 rootviewcontroller 是 kqyTabBarViewController ,这里加了 4 个控制器。想在底部中间加一个按钮。重写了 kqyTabBar UITabBar.结果就这样了。这是为什么呢?代码在: http://git.oschina.net/jogging20/iOSLearn2016os/tree/master/

    [IMG]http://image18-c.poco.cn/mypoco/myphoto/20160802/10/6403707720160802103258048.jpg?640x1180_120[/IMG]

    [IMG]http://image18-c.poco.cn/mypoco/myphoto/20160802/10/6403707720160802103258048.jpg?640x1180_120[/IMG]

    [IMG]http://image18-c.poco.cn/mypoco/myphoto/20160802/10/6403707720160802103314065.jpg?750x1378_120[/IMG]

    已解决 原来是没加启动图。/ 另外请问,外连的图,大家用的是哪个网站的?

    5 replies    2016-08-02 19:58:22 +08:00
    kera0a
        1
    kera0a  
       Aug 2, 2016
    没适配,
    去加一个 Launch Screen File
    action456789
        2
    action456789  
       Aug 2, 2016
    启动图片尺寸不对
    queuey
        3
    queuey  
       Aug 2, 2016
    1 楼说得对
    bullettrain1433
        4
    bullettrain1433  
       Aug 2, 2016
    按照一楼说的做
    vvard3n
        5
    vvard3n  
       Aug 2, 2016
    删掉启动页 LaunchScreen.storyboard 的话,会造成这种情况。添加回来就好了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1230 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 23:56 · PVG 07:56 · LAX 16:56 · JFK 19:56
    ♥ Do have faith in what you're doing.