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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:29:59+00:00 2026-05-28T16:29:59+00:00

Im currently working on an app which lists a set of objects in a

  • 0

Im currently working on an app which lists a set of objects in a tableview, when the user clicks on one of the objects it opens a UIWebview which should display a paragraph of text (which is stored in html format in core data), I would also like the user to be able to scroll up and down in the web view to see the previous/next paragraphs.

So far I have this:

NSMutableArray *paras = [sharedHelper dataParagraphs];

NSMutableData *htmlData = [[NSMutableData alloc] init];

for (DataParagraph *dp in paras) {
    [htmlData appendData:[dp Body]];
}

[web loadData:htmlData MIMEType:@"text/html" textEncodingName:@"UTF-8" baseURL:nil];

Which basically gets all the paragraphs and displays them in the web view. So, my question is if i load just the paragraph for the object that has been clicked, is there anyway i can then load the previous and next paragraph dynamically without refreshing the web view? I was thinking about displaying the paragraphs inside a UITableView but I’m not sure if you can display html code in a UITableViewCell?

Any help is much appreciated.

  • 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-28T16:30:00+00:00Added an answer on May 28, 2026 at 4:30 pm

    Create an array of objects in your WebView VC and declare that as a property, also declare an NSInteger property on the WebView VC as well.

    Then build that same array of all the html objects in your CD entity and pass that along with the selectedindexpath.row to the WebView VC.

    When the WebView loads, load up the html object in the array corresponding to the indexpath.row property.

    Use gesture recognizers or scroll position to load previous, next indexes in the html object array.

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

Sidebar

Related Questions

I'm currently working on a reasonably simple MVC app which allows the user to
I'm currently working on a app for a podcast (katg.com) which will let you
i am working on a simple web app which has a user model and
Currently working on a pretty basic hosted PHP app which I'm in the process
I am currently working on app which is supposed to have Twitter integration. The
I'm currently working on an app which needs to draw s.th. like a network
I am currently working on an app which will take screenshot and then email
I am currently working on a web app which requires a standard desktop application
I'm currently working on an app that is being created using Ironspeed Designer. It's
I'm currently working on a Silverlight app and need to convert XML data into

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.