这个警告意味着什么:“设置集合视图的第一个响应者视图,但我们不知道它的类型(单元格/页眉/页脚)”。 [英] What does this warning mean: "setting the first responder view of the collection view but we don't know its type (cell/header/footer)"

查看:105
本文介绍了这个警告意味着什么:“设置集合视图的第一个响应者视图,但我们不知道它的类型(单元格/页眉/页脚)”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在每个单元格中都有一个带UITextView的UICollectionView。当我点击其中一个文本视图并且键盘出现时,我在输出面板中收到此警告:

I have a UICollectionView with a UITextView in each cell. When I tap on one of the text views and the keyboard comes up, I get this warning in the output panel:

设置第一个响应者视图集合视图,但我们不知道它的类型(单元格/页眉/页脚)

文本输入工作正常。但是,在生产中使用此代码之前,我真的很想知道这个警告意味着什么。

Text input works fine, though. However, I'd really like to know what this warning means before I use this code in production.

推荐答案

根据Apple的说法, 你可以放心地忽略这一点。

According to Apple, "you can safely ignore that".

https://devforums.apple.com/message/717898#717898

这篇关于这个警告意味着什么:“设置集合视图的第一个响应者视图,但我们不知道它的类型(单元格/页眉/页脚)”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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