Question about select UITableViewCell fields
Posted
by
Joaquin McCoy
on Stack Overflow
See other posts from Stack Overflow
or by Joaquin McCoy
Published on 2010-12-30T04:33:12Z
Indexed on
2010/12/30
4:54 UTC
Read the original article
Hit count: 275
iphone
|uitableviewcell
Hi guys, I've a custom UITableViewCell like this:
+--------------------------+
| username |
| |
| --- <image> -- |
| |
| <like it> |
+--------------------------+
It display an username, an image and a button "Like it" to like image. I don't want that the entire cell is selectable, I want a user can tap on "username" to see a new view that show username information. The same for image, when user tap on image, he could see the image in a new view.
Now I can only select my entire cell. How can I implement something like this?
Thanks.
When you click on the username you'll see a view for user information. The entire cell is not selectable.
© Stack Overflow or respective owner