How add two images side by side in a UITableViewCell?
The style of UITableViewCell is UITableViewCellStyleSubtitle.
How add two images side by side in a UITableViewCell? The style of UITableViewCell
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As soon as you start doing anything unusual in a UITableViewCell, it’s time to create your own custom subclass of UITableView cell. Trying to muck around with the defaults iOS gives you will only lead to pain and misery.
There are many tutorials and examples out there on the net and it’s quite simple to do, e.g.
http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html
Make sure you pay attention to how everything is wired up in Interface Builder. With XCode 4 you’ll also have to create the NIB/XIB on your own in a separate step – see a previous stack overflow response to this here:
How do I create a custom UITableViewCell with nib in Xcode 4?