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

Details: Only disable after user clicks the submit button, but before the posting back
When a user clicks a submit button I want the form to be submitted.
When the user clicks a button, I want his browser to automatically scroll to
As soon as the user clicks the delete button my jQuery script asks the
When a user clicks on a button or link, I use the SimpleModal jQuery
I have the following usecase: A div with some buttons When the user clicks
I am trying to create two form elements when the user clicks a button,
I have the following example where when a user clicks a navigation line it
I've have an ImageButton within a ListView . When a user clicks the button
I'm loading local .html files into a UIWebView, then if the user clicks on

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.