简体   繁体   中英

How to implement such UI with TableView

The UI I want to implement:

I wonder how to implement the top view (contains image and description, etc.) without TableCell border. The first idea for it is use tableHeaderView.

But if I want to implement such view not only at the top but in the middle of the tableView, any other solutions for such case?

You need create your custom tableViewCell and implement your own display logic either in IB or programmatically.

What you need to is creating a class which is a subclass of UITableViewCell. Check these tutorials.

http://howtomakeiphoneapps.com/how-to-design-a-custom-uitableviewcell-from-scratch/1292/

http://zcentric.com/2008/08/05/custom-uitableviewcell/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM