문제

I like how the Trulia Mobile iPhone app search result has the photo span the entire table view cell and puts the text details in the lower left corner. How does one code that? Is there a tutorial that covers such an approach?

The closest solution I see is the book "iOS 7 By Tutorials", Chapter 8, section "Blur effects”.

Trulia Mobile app search results

도움이 되었습니까?

해결책

Not so hard!

  1. Make a prototype UITableView
  2. Make a custom UITableViewCell class
  3. link class to your storyboard
  4. Put your labels and stuff in your UITableViewCell prototype
  5. Link your outlets etc to your code (UITableViewCell Class)
  6. Setup your UITableView rowForIndexPath by doing: CustomClass *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];

Try finding a tutorials how to setup an custom prototype cell

EDIT: Here is a link

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top