Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6117865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:22:10+00:00 2026-05-23T15:22:10+00:00

I am making a application which will show data in table view. I am

  • 0

I am making a application which will show data in table view. I am stuck to show record in table view. My table view design is bit difficult for me. Which should be like this.

1) “Title” of records will be show on top of each cell. (For this time any hardcoded TEXT)

2) Just below the record I have to show users profile image. (For this time any hardcoded image)

3) Just beside of user profile image I have to show username. (For this time any hardcoded TEXT)

4) just beside of username I have to show one button ( button must contain an image).
and it will be repeat until whole data shown in table.

I tried it but I am getting problem. Here is my code.

// Adding hardcoded text in table

    TableList = [[NSMutableArray alloc] initWithCapacity:6];
    [TableList addObject:@"11111 11111"];
    [TableList addObject:@"22222 22222"];
    [TableList addObject:@"33333"];
    [TableList addObject:@"44444"];
    [TableList addObject:@"55555"];
    [TableList addObject:@"66666"];

Here I am writing code to add images in Cell of table

// Configure the cell...

cell.textLabel.text=[TableList objectAtIndex:[indexPath row]];

UIImage *leftImage=[UIImage imageNamed: @"facebook.png"];
cell.imageView.image= leftImage;

CGRect contentRect = cell.contentView.bounds;

CGFloat boundsX = contentRect.origin.x;


UIImage *fave=[UIImage imageNamed: @"like_symbol.jpg"];

UIButton *customButton = [UIButton buttonWithType:UIButtonTypeCustom];
customButton.frame=CGRectMake(boundsX+170 ,0, 50, 50);
[customButton setImage:fave forState:UIControlStateNormal];
[customButton setImage:fave forState:UIControlStateHighlighted];
[customButton addTarget:self action:@selector(faveIncrement) forControlEvents: UIControlEventTouchUpInside];
[cell.contentView addSubview:customButton];

This is presently output screen.

Presently coming output

I need output like this window.

enter image description here

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:22:11+00:00Added an answer on May 23, 2026 at 3:22 pm

    check this example from ios reference about advanced tableview cells http://developer.apple.com/library/ios/#samplecode/AdvancedTableViewCells/Introduction/Intro.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making an application which will retrieve all mailboxes from Domino Server. And
I am interested in making a decent WPF application which will be pretty huge.
I am making an application which will act as a virtual printer saving the
I m making an application in ANDROID which will be used at two ends.
I am making an application which will do something on receipt of a particular
I am making an application in which user will be making gestures on screens
I am making an application which has j2me in client side and dotnet on
I am making an application which is a user interface to access 2 types
I'm making an application which uses MANY images. The application gets the images from
I am making an application (iPhone app) which gets information (jokes) from an RSS

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.