Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
动画 UICollectionView 单元格大小更改并重新定位周围单元格
Goal 以动画方式改变单元格的高度并重新定位周围的单元格 设想 集合视图中的某些单元格会加载远程图像 最初 这些单元格的大小是静态的 并显示活动指示器 加载图像后 会将其添加到其单元格中 并且更改单元格的高度以适合照片 Notes 我正在
在集合视图单元格中播放视频,就像在 Facebook 应用程序时间轴中播放的视频一样
我想在集合视图单元格中播放视频 要求就像 Instagram 时间线 播放视频就像在 facebook 时间线中播放视频 为此 我使用了 UICollectionViewCell 我有一些图像 没有视频 现在我是来自画廊的图像 我正在使用相
如何使 collectionViewCell 仅按高度自动调整大小?
我使用collectionView的自动调整流布局的功能 self flow UICollectionViewFlowLayout alloc init self flow scrollDirection UICollectionViewS
ios
autolayout
UICollectionView
UICollectionViewCell
更改流程布局的 itemSize 后单元格大小未更新
在我的应用程序中 我有一个全屏分页集合视图 每个单元格也需要全屏 因此集合视图布局的项目大小需要与视图控制器的视图边界大小相同 为此 在viewDidLayoutSubviews我只是设置了项目大小 它就按预期工作了 当我呈现这个屏幕时 v
ios
UICollectionView
UICollectionViewCell
uicollectionviewlayout
仅当捏住单元格的 imageView 时,才可以在 UICollectionView 的自定义单元格中放大/缩小 UIImageView 吗?
我有一个 CollectionView 它有一个自定义单元格 我想放大 缩小单元格中的 imageView 所以我在 CollectionView m 添加捏合手势 当我向 self collectionView 添加手势时 如下所示 se
ios
Objectivec
UICollectionViewCell
gesture
pinch
UICollectionViewCell - 内容不会与单元格的 contentView 一起动画
问题看起来像这样 http i imgur com 5iaAiGQ mp4 https i imgur com 5iaAiGQ mp4 红色是cell contentView的颜色 这是代码 https github com nezhybo
ios
Animation
UICollectionView
UICollectionViewCell
UICollectionView 就像 iOS 主屏幕 [关闭]
Closed 这个问题不符合堆栈溢出指南 help closed questions 目前不接受答案 我想制作一个像 iOS 主屏幕一样的 UICollectionView 我发现了几个 而且很好的 样本 例如 http mobile tu
Objectivec
ios
UICollectionView
UICollectionViewCell
子类化 UICollectionViewCell 导致永远不会被选择
我尝试对 UICollectionViewCell 进行子类化并从 nib 文件加载 id initWithFrame CGRect frame self super initWithFrame frame if self NSArray
ios
Objectivec
UICollectionViewCell
UICollectionView:不同大小的项目不会在重复使用的项目上计算
我有一个包含不同项目大小的集合视图 我在其中声明 CGSize collectionView UICollectionView collectionView layout UICollectionViewLayout collectionV
ios
UICollectionView
UICollectionViewCell
点击时展开 UICollectionView 及其单元格
我正在尝试制作一个过渡动画 如链接中的演示here https dribbble com shots 2733571 Citadela countries 因此 当我单击该单元格时 它会展开并覆盖整个屏幕 这是我的代码 我不得不承认我对 C
ios
swift
UICollectionView
UICollectionViewCell
uicollectionviewlayout
垂直滚动时在未调用的 collectionView 上向左/向右滑动
我有一个collectionView垂直滚动 覆盖设备上的整个屏幕 即全屏 我已经注册了Swipe Left and Right为我的手势collectionView right swipe gestures in collectionVi
ios
swift
UICollectionView
UICollectionViewCell
使用 Interface Builder 在 nib 中设计 UICollectionView 单元格(无故事板)
我正在尝试设计一个定制的UICollectionViewCell原型 在 Xcode 5 0 2 中 但是 Interface Builder 不允许我向我的UICollectionView在设计笔尖时 如果我使用故事板 我可以设置项目 单
xcode
interfacebuilder
UICollectionView
nib
UICollectionViewCell
在布局更改的同时重新加载/动画 UICollectionView
这个问题 https stackoverflow com questions 40680588 uicollectionviewcell contents do not animate alongside cells contentview
ios
swift
UICollectionView
UICollectionViewCell
uicollectionviewlayout
iOS:UICollectionViewCell根据屏幕尺寸自动调整大小
我试图在集合视图中创建 10 个单元格 与屏幕大小相同 当我在 iphone5s 模拟器中运行我的应用程序时 视图恰好包含 5 个单元格 但是当我切换到 iphone6p 模拟器时 视图包含超过 5 个单元格 我应该如何调整单元格大小 以使
ios
Objectivec
swift
UICollectionView
UICollectionViewCell
UICollectionViewCell 中的 UICollectionView
我有兴趣将集合视图作为集合视图单元的一部分 但由于某种原因无法弄清楚这是如何完成的 我将在哪里实现单元格集合视图的必要方法 There s Ash Furrow 写的一篇文章 http ashfurrow com blog putting
ios
UICollectionView
UICollectionViewCell
CollectionView 嵌套在 CollectionView 中
我见过将集合视图嵌套在表视图中的解决方案 但对于我的应用程序 我需要有 2 个集合视图 因为这样可以更轻松地执行其他操作 所以我们调用根集合视图垂直集合视图仅垂直滚动和嵌套集合视图水平集合视图仅水平滚动 我使用故事板创建了它们 下面你会看到
ios
swift
UICollectionView
UICollectionViewCell
uicollectionviewdelegate
UICollectionView 单元格阴影
我正在尝试为我的自定义添加阴影UICollectionViewCell 这是我在自定义集合视图单元格类中使用的代码 self layer shadowOffset CGSizeMake 1 0 self layer shadowColor
ios
Objectivec
UICollectionView
UICollectionViewCell
CALayer
如何使用 Xcode 6.3 Beta2 覆盖 Swift 中超类的 setter?
我的 SuerClass 是UICollectionViewCell它有一个属性 var selected Bool 我的班级是 MyClass UICollectionViewCell func setSelected selected
ios
swift
inheritance
overriding
UICollectionViewCell
collectionViewContentSize() 与 contentSize
有什么区别 collectionViewController collectionViewLayout collectionViewContentSize and collectionViewController collectionVie
ios
swift
UICollectionView
UICollectionViewCell
uicollectionviewlayout
UICollectionView 上的 register(_:forCellWithReuseIdentifier:) 有什么问题?
我正在与一个UICollectionView As dequeueReusableCell withReuseIdentifier for 期望您必须使用以下方法注册类或 nib 文件register forCellWithReuseIde
ios
swift
UITableView
UICollectionView
UICollectionViewCell
1
2
3
4
5
6
»