Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎么能把图像放在我现有的集合视图控制器上。
如此处所示:
http://i.stack.imgur.com/fyK8t.jpg
我需要它不影响滚动或与 uicollectionview 的交互,但我也需要能够与之交互。
在界面生成器中,确保 UIScrollView 和您的其他 UIView(包括 UIButtons、UIImageViews)是同一级别的两个不同实体,例如不相互嵌套。
给第二个 UIView 一个 z 顺序,以便它出现在 UIScrollView 上。