Launch screens may not set custom classnames

前端 未结 7 1565
春和景丽
春和景丽 2020-12-29 19:43

I tried to add a custom class to my Table View Cell, but after I added it it gives the following error:

I often read that I can\'t use custom classes in the

7条回答
  •  一生所求
    2020-12-29 19:49

    Go to your -> launchScreen.storyboard then got to your -> identity and types -> uncheck the box -> use as launch Screen. Changing it in General -> App Icons and Launch images -> Launch Screen File drop down -> LaunchScreen instead of launchScreen.storyboard won't help(stop) do the above. make sure all your constraints are set properly easier way just copy the constraint settings from your main story board.

提交回复
热议问题