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

  • Home
  • SEARCH
  • 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 7658485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:12:29+00:00 2026-05-31T13:12:29+00:00

I am working with a UIWebview, is there anyway I can just load just

  • 0

I am working with a UIWebview, is there anyway I can just load just the body of a webpage instead of the entire webpage with my UIWebView (aka not load the header and footer)? This website is not mine. But looking at the HTML of this site, I only want to load to
div id=”mainContent” to /div
Either by writing some objective c or javascript?

Thanks!
Alan

  • 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-31T13:12:29+00:00Added an answer on May 31, 2026 at 1:12 pm

    With Web-Kit you can parse the incoming HTML and do whatever you like to it (within, legal rights to the site you are reading)

    Once the data is loaded in you can then push the edited HTML to the WKView fairly easily.

    If you have an outlet to the webView you can do: (For example a UIWebView in iOS)

    [webView loadHTMLString:htmlString baseURL:nil];
    [webView setNeedsDisplay];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I cannot get Raphaël working in a UIWebView. I load a simple HTML-Webpage with
LoadHtmlString UIWebView is not working. I want to play embeded you tube video. I
I'm working on an application with an embedded UIWebView. The user has the ability
Currently I'm working on to display Epub content in UIWebview . From this link
Working on a page with multiple sections. at the very top there is a
I am working on making a paged app that will load a separate HTML
I am working on an IPhone app and i have a UIWebview that by
I'm working on an app where I'm going to use both HTML5 in UIWebView
I'm working on an iPhone/iPad application and I've got an unpleasant issue. There is
I am working on providing PhoneGap functionality in a UIWebView in MonoTouch. I have

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.