Mbach Mbach - 1 year ago 106
Swift Question

How can I get a listview like the following Apple Music playlist overview?

I am searching for a Listview in Swift that looks like the following:

Wanted ListView:-

enter image description here

I want a ListVIew that has a picture in the background and a text over the picture. And when I click at that picture, I want to go to the next site.

And how I get these Header?

Header Example:-

enter image description here

Can someone help me?

Answer Source
  • Implement the UITableView with customTableCell.
  • On your customTableCell class draw the custom design as shown in your requirement image. (Set a background image. Set a left aligned label.)
  • Implement the didSelectRowAtIndexPath delegate method to goto the next site.
  • Set the accessoryType of cell to UITableViewCellAccessoryType.DisclosureIndicator
  • Custom header:- Set the translucent navigation bar. Set the custom image in your headerview.
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download