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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T10:34:29+00:00 2026-06-01T10:34:29+00:00

I have a table view, when a row is selected it goes on to

  • 0

I have a table view, when a row is selected it goes on to the detail view. In the detail view i have a button that passes a string to the the new view the new view is a webView, so it opens up a webpage. But in web view I have the navbar and when I press the back button I end up in the table view not the detail view. How can I change that so I go back to the detail view?

This is what I use to get to detail view

 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
  CustomDrawingViewControllerA *drawingVC = [[CustomDrawingViewControllerA alloc] init];
drawingVC.viewTitle = [[tableView cellForRowAtIndexPath:indexPath] textLabel].text;
[self.navigationController pushViewController:drawingVC animated:YES];

This gets me from detailview to Webview via a button pressed

   - (IBAction)onHelpButtonClicked:(id)sender
   {
if (m_helpPopupViewController==nil)
{
    m_helpPopupViewController =[[WebViewController alloc]
     initWithNibName:@"WebViewController" bundle:nil];
    m_helpPopupViewController.title2 = webAdd;         
     }

[self.view addSubview:m_helpPopupViewController.view];

This gets the Webview loaded

 - (void)viewDidLoad
 {
 [super viewDidLoad];
  // Do any additional setup after loading the view from its nib.
  NSString *fullURL = @"http://www.systembolaget.se"; NSURL *url =
  [NSURL URLWithString:fullURL]; NSURLRequest *requestObj
  = [NSURLRequest requestWithURL:url]; [webView loadRequest:requestObj];


   NSLog(@"test %@", title2);

  }
  • 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-01T10:34:30+00:00Added an answer on June 1, 2026 at 10:34 am

    You add webView as sub view of detail view controller, so web you tab the back button of navigation controller you come back to the previous view controller on the navigation stack that is the table view. To get what you want you should perform:

    [self.navigationController pushViewController:webView animated:YES];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Imagine you have a normal table view where each row is an item on
In my iPhone application I have a table view. When user taps any row,
I have a table view that I am customizing and I am adding a
I have a table view that is managed by an NSFetchedResultsController. I am having
I have an initial table view that I created as the initial menu within
I have a table view which shows a table view and has a detail
I have a view that includes a table. var newsIndexView = Backbone.View.extend({ ... });
I have a navController and tableViewController set up such that selecting a table row
I have a plain table view that is laying out properly except that the
I have a table View that when a cell is added, it won't work

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.