启动屏幕可能无法设置自定义类名 [英] Launch screens may not set custom classnames

查看:1284
本文介绍了启动屏幕可能无法设置自定义类名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将自定义类添加到我的表视图单元格中,但在添加它之后会出现以下错误:

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

我经常读到我不能在LaunchScreen中使用自定义类但我没有触及过这个文件。谁能帮我?

I often read that I can't use custom classes in the LaunchScreen but I haven't touched this file. Can anyone help me?

这是我的主要和启动界面。

This are my general settings for the main and the launch interface.

我正在使用Swift。

I am using Swift.

推荐答案

Go到 Main.storyboard 的属性,并检查未选择用作启动屏幕。听起来你错误地选择了它。

Go to the properties of your Main.storyboard and check that Use as Launch Screen isn't selected. It sounds like you have selected it by mistake.

这篇关于启动屏幕可能无法设置自定义类名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆