What is the difference between launchscreen.storyboard and main.storyboard

后端 未结 4 1578
無奈伤痛
無奈伤痛 2020-12-14 06:03

I googled the two word together but could not find anything. I have never used it. Is there any necessity for it although we have main.storyboard.

4条回答
  •  暖寄归人
    2020-12-14 06:37

    They are two completely different things. The launch screen is what first appears when the user taps the app icon before the app is finished launching. It shows a single, static screen. It can't be dynamic and it can't use any custom classes or code. It's the replacement for launch images.

    The main storyboard is what your app actually displays when the app is running. It contains your app, code, and logic.

提交回复
热议问题