集成文本和按钮
Now I need to put some text and some button in the custom UITableViewCell.
I hope the text and button are continuous. And the text is colorful.
Such as: It will take you(black color) (a clock button)2 minutes(yellow color).
I have used UIWebView into Cell load the text and button. But the roll has some problem.
I have not any idea.
Thanks!
Now I need to put some text and some button in the custom UITableViewCell.
I hope the text and button are continuous. And the text is colorful.
Such as: It will take you(black color) (a clock button)2 minutes(yellow color).
I have used UIWebView into Cell load the text and button. But the roll has some problem.
I have not any idea.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
通过继承UITableViewCell制作一个自定义表格单元格,并在自定义表格单元格中添加按钮和文本。
Make a Custom Table Cell by inheriting UITableViewCell and add button and text in the Custom Table Cell.
有关
UITableViewCell
自定义的基本想法http://adeem.me/blog/2009/05/30/iphone-sdk-tutorial-part-6-creating-custom-uitableviewcell-using-界面构建器-uitableview/
For a basic idea on
UITableViewCell
customizationhttp://adeem.me/blog/2009/05/30/iphone-sdk-tutorial-part-6-creating-custom-uitableviewcell-using-interface-builder-uitableview/