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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:41:48+00:00 2026-05-22T18:41:48+00:00

User clicks on Remote button and then the following UITableViewController loads up: The user

  • 0

enter image description here

User clicks on “Remote” button and then the following UITableViewController loads up:

enter image description here

The user then selects any value upon which I call:

[self.navigationController popViewControllerAnimated:YES];

to go back again to the previous UITableViewController (screen shot 1).

How do I add the selected value to the UITableViewController?

I hope I am making sense.

  • 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-22T18:41:49+00:00Added an answer on May 22, 2026 at 6:41 pm

    In your remote recipients table view controller, you have the Array with which you are loading the table (say myTestArray). Keep it as a property. And also have a NSInteger property (say selectedRow) which will identify which row user selected. And when you go back to the add recipient table view controller, you can know which row was selected by

    [remoteRecipientsController.myTestArray objectAtIndex:remoteRecipientsController.selectedRow];
    

    Or use delegates. Upon row selection the remote recipients will give a call back telling which row was selected.

    Update:
    If you dont have access to the view controller, use delegates.

    You can get both array and the selected row in the delegate method, something as follows:

    -(void) remoteRecipient:(RemoteRecipientController *) remoteRecipientController didSelectRow:(NSInteger) row {
    // Get the selected row
    ... = [remoteRecipientController.myTestArray objectAtIndex:row ];
    }
    

    Or you can also configure the delegate to just return the selected row (as your string), something as follows:

    -(void) remoteRecipient:(RemoteRecipientController *) remoteRecipientController didSelectRow:(NSString *) selectedRecipient {
    
    }
    

    Ofcourse, In this case you need to make remote recipient controller pass the selected row as NSString in the delegate.

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

Sidebar

Related Questions

I'm working on a form in which the user will be able to add
Basically there are 4 images that scroll off the page. Now when a user
I've got a Jquery function that I wrote which blacks out the screen after
I have a button named okbutton. A callback function is bind to the click
I have an application that is loading html from a remote server in a
Please take a look at the following autocomplete code. $(document).ready(function(){ $(#the_input).autocomplete(/autocomplete.php, { //some options
First, my development environment: Win7 laptop with Visual Studio Professional 2010. IIS is NOT
I have assigned macro to few buttons. How can I find out inside macro
I have very custom TableView like Add Contact View in iPhone's Contacts. I like
How do I handle selection of multiple items with autocomplete? The objects I return

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.