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 6728469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:10:26+00:00 2026-05-26T10:10:26+00:00

Ha ii,everybody i have a tabeview cell containing some values.if the user tap one

  • 0

Ha ii,everybody i have a tabeview cell containing some values.if the user tap one of the cell a subview with buttons appears and there in popoup i have a button named save.My need is when the user tap the save button it redirect to the save page with the value of the cell,and show it in the textview of the save page.This is my code for redirecting to save page.

-(IBAction)buttonclick{
StatusViewController *detailViewController = [[StatusViewController alloc] initWithNibName:@"StatusViewController" bundle:nil];

    detailViewController.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
    [self presentModalViewController:detailViewController animated:YES];
    [UIView commitAnimations];
    [detailViewController release];}
  • 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-26T10:10:27+00:00Added an answer on May 26, 2026 at 10:10 am

    Store the string value of the cell in the NSString value in the class.

    If you want the string value from the last selected table view cell. Get the string value from the delegate method,

    NSString *localStringValue;
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 
    {
      localStringValue = [tableView cellForRowAtIndexPath:indexPath].textLabel.text; 
    }
    

    Create a NSString property in the StatusViewController.

    @interface StatusViewController : UIViewController {
    
    }
    @property(nonatomic, retain) NSString *yourStringProperty;
    

    alter your code as below,

    StatusViewController *detailViewController = [[StatusViewController alloc] initWithNibName:@"StatusViewController" bundle:nil];
    
    detailViewController.yourStringProperty = localStringValue;
    

    in StatusViewController class you could access the string value by using,

    self.yourStringProperty
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi everybody, I have some issue with one of my project. I'm currently developing
Hello everybody i have C++ tStringGrid I want to get string from specific cell
everybody, I have some problem related to the jenkins and git. I created a
Everybody, I have a one HTML page which contain one Javascript function which shows
Everybody, I need to set one image on UIAlertView.. I have attached my UIAlertview
I have some URLs, like these: http://stackoverflow.com/questions/ask http://example.com/Hello/EveryBody/?page=5 http://another.example.com/GoodBye.html?q=me%20%40%20%3Cstackoverflow%3E%20!%3B I'm getting URLs from user,
Hi everybody out there! My question is as follows: I have a template class
everybody! I have an Excel file and onclick event my file values must be
I have an a tab based app in which some parts are for everybody,
Everybody out there, I'm writing a c code which have a strange problem when

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.