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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:17:21+00:00 2026-05-18T07:17:21+00:00

I load local data inside a UIWebView. That instance of UIWebView is added to

  • 0

I load local data inside a UIWebView. That instance of UIWebView is added to a UITableViewCell as a subview inside method

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

with the following snippet:

[myCell addSubview:aWebView];

The filled webview’s height is larger than the cell’s height, so that the webview should be scrollable inside the cell. Actually this works on iOS 4.1 device and on iOS 3.2 simulator sucessfully. But going back to a iOS 3.1.3 device gets the webview fixed and unscrollable. Does anyone have a hint how to solve this for backwards compatibilty reasons?

  • 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-18T07:17:21+00:00Added an answer on May 18, 2026 at 7:17 am

    First I thought aWebView didn’t receive touch events and therefor it would not scroll. After approaches as

    [aWebView becomeFirstResponder];
    

    and

    [aWebView setUserInteractionEnabled:YES];
    

    I realized that aWebView was responsive. It just didn’t scroll in iOS 3.1.3. Adding aWebView to a UIScrollView instance, which was added as a subview to the cell’s contentView, made the web view scrollable in both, iOS 3.x and iOS 4.x.

    [aScrollView addSubview:aWebView];
    [aScrollView setContentSize:CGSizeMake(300, 600)];
    [myCell.contentView addSubview:aScrollView];
    

    The above code snippet basically does it. Don’t forget to set scrollview’s content size again, after the webview finished loading content. OS fragmentation is naughty.

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

Sidebar

Related Questions

I'm trying to load a page that is basically an edit form inside a
I'm using MySQL's LOAD DATA LOCAL INFILE SQL statement to load data from a
I am building an iPad app that loads local html files in a UIWebView.
I'm trying to load data into a mysql table using LOAD DATA LOCAL INFILE
i want to import csv file into mysql.. something like: load data local infile
I load a single instance of a window on php-gtk, I have a button
I load data into my grid using a WCF service. When a user clicks
How do I load a Python module given its full path? Note that the
I want to load one or more DLLs dynamically so that they run with
I want to load code and display it inside code tags (for syntax highlighting,

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.