UITableView on iPad/iPhone like Mail.app
how can i made an UITableView lo开发者_Go百科oks like the Mail.app from iPhone/iPad? With an heading, the time/date in the right top and 3-5 Lines of text as subtitle?
I cant't find anything about this.
Thank's!
This is a great tutorial about creating your own custom UITableViewCell. Work through that and then you should easily be able to tweak the cell layout to what you need.
The easiest way is to specify the desired UITableViewCell style in the "cellForRowAtIndexPath:" method of your UITableViewController. The available styles can be found in the documentation for UITableViewCell (see the "– initWithStyle:reuseIdentifier:" section). Simply type "UITableViewCell" in the search field of the documentation section of Xcode for a complete overview.
精彩评论