starting ios project without storyboard

前端 未结 9 1302
渐次进展
渐次进展 2021-01-12 23:28

Im having some troubles to start an iOS app using xibs instead of storyboard. The problem is that im getting a black screen and the first view controller is not being called

9条回答
  •  甜味超标
    2021-01-12 23:58

    This is a kind of "out of the box" solution, so it is irrelevant to your code. Specially since I don't see anything wrong with your code.

    I had the same problem and tried for a long time to fix the code, what worked for me was finding an example project (in github for example) that uses xibs.

    Download it and then edit it to make your application it is guaranteed to work. It is a shame that Xcode wants to force us to use their storyboards with these kinds of problems.

提交回复
热议问题