腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(487)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
UICollectionReusableView
未显示
UICollectionViewCell class] forCellWithReuseIdentifier:reuseIdentifier]; return CGSizeMake(self.view.frame.size.width, 44.0f); - (
UICollectionReusableView
suppleme
浏览 0
修改于2017-07-20
得票数 2
1
回答
单元格分配时如何更改
UICollectionReusableView
中的按钮
UICollectionReusableView
我有一个带有按钮的
UICollectionReusableView
,当用户点击按钮时,我想要更改backgroundColor和borderColor。
浏览 3
修改于2015-05-08
得票数 0
回答已采纳
1
回答
子类
UICollectionReusableView
:引用“内容区域”
我试图对
UICollectionReusableView
进行子类化,以简化一些代码。在构建视图之后,我遇到了一个“向其添加视图”的问题。我似乎找不到与
UICollectionReusableView
并行的子视图来参考。因此,我写了这篇文章,并进入最后一行,我不知道应该把占位符“ConfusionHere”放在什么位置: ConfusionHere.addSubview(textLabel
浏览 0
修改于2016-07-30
得票数 0
回答已采纳
1
回答
UICollectionReusableView
约束不更新
我试图在加载事件时动态激活/禁用
UICollectionReusableView
子类上的一些布局约束。 我已经设置了布局约束,一些被激活,一些被停用。
浏览 3
提问于2017-05-10
得票数 1
2
回答
IOS,快速-
UICollectionReusableView
不工作
collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) ->
UICollectionReusableView
浏览 3
修改于2018-01-28
得票数 1
回答已采纳
1
回答
以编程方式创建
UICollectionReusableView
重叠问题
因此,-addSubview似乎两次将UILabel添加到
UICollectionReusableView
{
UICollectionReusableView
@"HeaderView" for
浏览 0
提问于2015-07-03
得票数 0
1
回答
如何添加少量
UICollectionReusableView
我的问题是,如何使用故事板向UICollectionView添加两个
UICollectionReusableView
?forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderView"];但是我如何将两个
UICollectionReusableView
浏览 4
修改于2014-10-06
得票数 2
2
回答
UICollectionReusableView
报头可能存在错误
我有一个自定义的
UICollectionReusableView
,里面只有一个标签:标签的前导、尾随、顶部和底部约束设置为8。UICollectionView, viewForSupplementaryElementOfKind kind: String, atIndexPath indexPath: NSIndexPath) ->
UICollectionReusableView
浏览 2
修改于2017-01-16
得票数 2
2
回答
对
UICollectionReusableView
进行子类化
我一直在尝试在一个非故事板iPad项目中创建
UICollectionReusableView
的子类。我已经在IB中构建了一个视图,并将其连接到我的自定义类,注册了这个类以便在我的集合视图所在的viewController中重用,并且在
UICollectionReusableView
*)collectionView
浏览 0
提问于2012-10-10
得票数 2
回答已采纳
1
回答
基于UILabel文本的
UICollectionReusableView
高度
我有一个想要在我的collectionView的标题中显示的
UICollectionReusableView
。我为头文件创建了一个XIB文件,并拖动了一个
UICollectionReusableView
,并使用自动布局在其中布局了元素。可重用视图中有2个标签具有来自服务器的动态内容,因此它们的高度各不相同。
浏览 2
提问于2014-11-05
得票数 4
1
回答
UICollectionReusableView
中未调用委托
我有一个自定义的
UICollectionReusableView
作为UICollectionView标头。在这个视图中,我有两个按钮。我已经创建了一个委托方法来执行按钮操作,但是它们没有被调用。collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) ->
UICollectionReusableView
浏览 21
提问于2019-11-11
得票数 0
回答已采纳
1
回答
未显示UICollectionViewFlowLayout
UICollectionReusableView
DecorationView
我尝试在UIViewController中的每一行后面显示一个decoration view。在viewDidLoad:中,我注册了装饰视图:我还设置了以下委托方法: - (UICollect
浏览 2
提问于2012-10-31
得票数 2
回答已采纳
1
回答
UICollectionReusableView
中的UIBUtton操作
我在
UICollectionReusableView
中添加了UIButton。我可以添加按钮&它是动作,但按钮动作不起作用。我已经尝试添加TapGesture &启用
UICollectionReusableView
& button的用户交互,但没有效果。
浏览 0
修改于2018-08-27
得票数 1
1
回答
无法从
UICollectionReusableView
中分离
Header.h@property (weak, nonatomic) IBOutlet UITextField
浏览 1
提问于2013-12-18
得票数 0
1
回答
无法创建
UICollectionReusableView
的IBOutlet
我在collectionView中设置了集合视图头的
UICollectionReusableView
。它完全可以工作,但是当我在
UICollectionReusableView
中创建UILabel的IBOutlet时,它总是在集合视图头方法viewForSupplementaryElementOfKindcollectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) ->
UICollection
浏览 26
修改于2019-01-04
得票数 2
回答已采纳
1
回答
将
UICollectionReusableView
向子类下转换失败
我创建了
UICollectionReusableView
的一个子类。->
UICollectionReusableView
!“出现以下错误:class CVHeaderView:
UICollectionReusableView
{ let
浏览 1
提问于2015-07-11
得票数 0
7
回答
UICollectionView &自定义
UICollectionReusableView
无效
我试图在我的
UICollectionReusableView
头中使用自定义UICollectionView (它有自己的类和XIB)。但是,在取了头部的数据之后,我什么也没有了。forSupplementaryViewOfKind: UICollectionElementKindSectionHeader withReuseIdentifier:@“HeaderView”; (
UICollectionReusableView
UICollectionView *)collectionView viewForSupplementaryE
浏览 6
修改于2013-05-16
得票数 11
1
回答
调整UICollectionView
UICollectionReusableView
(表头)宽度
我想在iPad中调整集合视图的标题宽度。 public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, return CGSize(width: 668, height: 44.0) public func collectionVie
浏览 42
提问于2021-07-14
得票数 0
12
回答
未调用的
UICollectionReusableView
方法
我遵循了以下步骤: -(
UICollectionReusableView
collectionView viewForSupplementaryElementOfKind:(NSStri
浏览 3
修改于2014-06-18
得票数 94
回答已采纳
1
回答
UICollectionReusableView
中的标签始终为空
我有一个自定义的
UICollectionReusableView
,HeaderCollectionReusableView,我正在代码中使用它。而它又包含一个UILabel。collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) ->
UICollectionReusableView
浏览 2
提问于2017-04-16
得票数 2
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券