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

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.
In your
remote recipients table view controller, you have the Array with which you are loading the table (saymyTestArray). Keep it as a property. And also have a NSInteger property (sayselectedRow) which will identify which row user selected. And when you go back to theadd recipient table view controller, you can know which row was selected byOr 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:
Or you can also configure the delegate to just return the selected row (as your string), something as follows:
Ofcourse, In this case you need to make remote recipient controller pass the selected row as NSString in the delegate.