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

  • Home
  • SEARCH
  • 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 8115083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:20:50+00:00 2026-06-06T03:20:50+00:00

How to change the Images in table view which is lied in the new

  • 0

How to change the Images in table view which is lied in the new view controller based on row selected .

e.g. Say I hv category table in my Category view controller.Now when user taps on Camera,a new view controller should load containing all the camera images and on tap of any image,it should display its Detail.

how to implement this , as I am new to this tech.,Please help me …

  • 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-06-06T03:20:51+00:00Added an answer on June 6, 2026 at 3:20 am

    you can follow some simple steps to make it working.

    1. First View: add the following code in your didSelectRowAtIndexPath method of tableview

    -(void)tableView:(UITableView *)tableViewdidSelectRowAtIndexPath:(NSIndexPath *)indexPath
      {
        //Fetch the value of the selected row in NSString
    
        NSString *tableRowValue = cell.textLable.text;
    
    
        //Call the next view
    
        secondView *secondViewController = [[secondVIew alloc] initWithNibName:@"secondView" bundle:nil];
    
        secondViewController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve ;
    
        //Initialize the view with the clicked row value thwough NSString variable 
        [secondViewController initializeWith:tableRowValue];
    
      }
    

    2.Second View:

    In your .h file, add the following initialization method:

    -(void)initializeWith:(NSString *)sentRowValue;
    

    IN your .m file, implement the initilization method:

    -(void)initializeWith:(NSString*)sentRowValue
      {
          NSString *receivedRowValue = sentRowValue;
          //take log to check 
      }
    
    
    // now perform all the table view delegate methods using the value you have received.
    

    NOTE: declare all the variables in your .h file and make them as property and synthesize them in your .m file

    hope this helps

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

Sidebar

Related Questions

I have some images that need to change, based not only on hover, but
I am loading some images in my table view with a click of a
I have the following code on the Table detail view of the table which
How do I change the width of a table view header?? I have a
My App is having a search bar for searching records from the table view,which
I have a table view cell with multiple images in them. When touching the
I have a feature which allows the user to create projects and view it
I have a table view which loads another xib file and uses the content
i am using a table view and adding small images(cross arrow an accept arrow
I have table view which is showing list of files to download. When I

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.