Fade Selected UITableViewCell like in contacts app

/ Published in: Objective C
Save to your folder(s)

The iPhone/iTouch Contacts app has a very cool feature. Once you have tapped on a contact, the application highlights the contact’s name and then navigates to the contact’s details. When you hit the “All Contacts” button to return to the main view of the application, the UITableViewCell that was selected fades from blue to white. Neat!


Here’s how it’s done. Add the code below to your UITableViewController. That’s it. That’s all.

URL: http://haroldcampbell.wordpress.com/2009/02/02/quick-tip-1-fade-selected-uitableviewcell/

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.