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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:27:23+00:00 2026-06-05T15:27:23+00:00

I am having a splitview application. Master pane is a UITableViewController and the detail

  • 0

I am having a splitview application. Master pane is a UITableViewController and the detail view is web view. In the master pane on selecting an entry, another table view (created using one more tableviewcontroller to avoid complexity) appears and detail view shows some page related to the entry. This much is working fine.


Now I want the same with second table view as well i.e. on selecting an entry, the detail view should update accordingly. But its not getting updated.
I have made the following function in the first tableViewController class:

-(void) display:(NSString*)theUrl
{    NSLog(@"%@", theUrl);
     NSURL *myUrl = [NSURL URLWithString:theUrl];

     NSURLRequest *request = [NSURLRequest requestWithURL:myUrl];
     splitViewDetailViewController *detailViewController = 
     self.detailViewController;

     detailViewController.webView.scalesPageToFit = YES;

     [detailViewController.webView loadRequest:request];
 }

And I am calling this function from the secondTableViewController and its getting called but detail view isn’t getting updated. What should be the solution?

  • 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-05T15:27:25+00:00Added an answer on June 5, 2026 at 3:27 pm

    My guess is, viewing the available information, that self.detailViewController is not the detail view that you intended to update. It probably the detail view of the second tableView, right? You either need to pass on the reference of the detail view of the master table view to the second tableview or you may use custom delegate or notification to let the detail view update itself and send the URL info via the the delegate methods.

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

Sidebar

Related Questions

Having successfully got a WCF service and client to talk to one another using
Having just added a new button in my web application, I get an error
Having this code: using (BinaryWriter writer = new BinaryWriter(File.Open(ProjectPath, FileMode.Create))) { //save something here
I'm having trouble merging the two concepts of using a SplitViewController in my main
In a split-view-based iPad app I'm using a custom background image in my navigation
I've created my own split view controller for the iPad. My main purpose in
having read the docs, https://docs.djangoproject.com/en/dev/topics/signals/ i have created this in my signals.py file: from
I am having a problem placing a tool bar in the root view controller
Having recently upgraded to TFS2010 I am having a problem building web applications. In
Having spent some time working on data warehousing, I have created both ETL (extract

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.