xcode 如何删除故事板警告:不支持的配置原型集合视图单元格必须具有重用标识符
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28694988/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
how to remove storyboard warning: unsupported configuratin Prototype collection view cells must have reuse identifiers
提问by Rizwan Shaikh
I am using xcode 6.1 when running the app it show warning 1 : storyboard warning: unsupported configuration Prototype collection view cells must have reuse identifiers 2 :Main.storyboard Showing first 200 warnings only
我在运行应用程序时使用 xcode 6.1,它显示警告 1:故事板警告:不支持的配置原型集合视图单元格必须具有重用标识符 2:Main.storyboard 仅显示前 200 个警告
in my main view i have a collectionView inside this collectionView i have 64 collection reusable View
在我的主视图中,我在这个 collectionView 中有一个 collectionView 我有 64 个可重用的集合视图
my app is running fine but i want to remove this warning please help me
我的应用程序运行良好,但我想删除此警告,请帮助我
回答by Dharmesh Kheni
Just give them reuseIdentifier as Cell
for remove that warning.
只需给他们重用标识符即可Cell
删除该警告。
You can find it when you click on collectionView cell in Attributes Inspector window. Like shown in this Image.
当您在 Attributes Inspector 窗口中单击 collectionView 单元格时,您可以找到它。就像这张图片所示。