Storyboard imageview 加tableview
来源:互联网 发布:c语言深度剖析 编辑:程序博客网 时间:2024/05/19 18:15
首先,问题肯定不是imageview在tableview的tablecell里面,或者这个会是我们之后会碰到的问题,但不是我们的初级问题;在网上搜到的都是超高级,超长的解说,什么NIB,什么5.0新特性storyboard,和如何viewcontrol,和写一个简单的tab。
明显,这些都不是我的问题,我的问题很简单,一个界面如何包含一个图片外加一个tableview,布局应该是如何的?
最后,还是在国外找到答案
I have a table view in my app and I am trying to add a image view over the top of it (see image below). However whenever I do this the image view is just instantly added to a cell in the table view. Am I not allowed to add an image view to a table view like this?
其实这个鬼老问得挺蠢得,显然也是一个”新手“,无论iOS还是程序,用菜鸟来形容不为过,但是起码人家提的一个很准确的问题,也得到了一个很准确的答案,(我估计,再过20年,国内也无法达到这个水平,等一个generation吧,等我们退了应该可以)
。。。
n个答案后,出了一个答案
I would suggest that you create a UIViewController as your parent view, then create a Container View with an embed segue to your table view controller. Check out my answer here for more details.
details
。。。
所以,这details就是答案,解答的过程,整个编程世界,还有很多很多。
- Storyboard imageview 加tableview
- storyboard创建tableview
- storyboard tableview section
- StoryBoard学习3 tableview实现
- storyboard使用及tableview示例
- tableview加索引
- Android ImageView 加边框
- android状态栏加ImageView
- Android ImageView加边框
- ImageView加边框
- IOS的storyboard编程之 TableView
- iOS storyboard 任意使用static tableView
- tableView - 自定义等高cell-storyBoard方式
- iOS storyboard tableview 内容下移64 解决
- storyboard中通过viewWithTag取tableview
- storyboard中给tableview 添加footView
- 使用storyboard tableView的cell自适应高度
- iOS storyboard tableview 内容下移64
- C++中为什么有时候会出现使用cin后在再使用getchar()会没有用
- tomcat 配置https
- SUSE Linux Enterprise 11 SP4 系统安装
- java运行异常duplicate methods named spliterator with the parameters () and () are inherited from the typ
- HDU 1420 Prepared for New Acmer(快速幂取模)
- Storyboard imageview 加tableview
- uri获取路径
- ubuntu下安装fcitx五笔输入法
- Java学习笔记整理
- 生成二维码
- TCP_UDP网络调试工具
- leetcode笔记:Dungeon Game
- String类的构造函数和析构函数
- JUnit4高级篇-由浅入深