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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T01:17:26+00:00 2026-06-19T01:17:26+00:00

I try to create image gallery where gallery will have long description like shown

  • 0

I try to create image gallery where gallery will have long description like shown image bellow.

enter image description here

The problem is because UIWebView can be any height (depend on text height). So I add UIScrollView so I can scroll if description is higher than page. So how can I set the height of UIWebView and how can I place UIView (with images) that will always be under the UIWebView?

  • 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-19T01:17:27+00:00Added an answer on June 19, 2026 at 1:17 am

    Maybe try setting the size of both the UIWebView and UIView for your gallery from the storyboard Interface Builder. Drag drop and resize each to the height you want.

    Say you have a UIView subclass called GalleryView and your IBOutlets are like this:

    @property (weak, nonatomic) IBOutlet UIWebView *webView;
    @property (weak, nonatomic) IBOutlet GalleryView *galleryView;
    

    Load your webpage

    - (void)viewDidLoad
    {
    [super viewDidLoad];
    self.webView.scalesPageToFit = YES; //NO is the default. 
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://google.com"]]];
    }
    

    You’ll see the UIWebView is scrollable, so no need to embed it in a scroll view.

    Also, there’s a warning in the UIWebView reference: “You should not embed UIWebView or UITableView objects in UIScrollView objects. If you do so, unexpected behavior can result because touch events for the two objects can be mixed up and wrongly handled.” So, that’s that.

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

Sidebar

Related Questions

I try to create the simplest WinAPI window using assembly NASM. I have problem
i try to create popupWindow with preView where user can see images from gallery.
I have an application where I can let the user choose a gallery image
I'm going to try and create an image that will be the background for
When I create a dynamic image on a canvas, and then try ti find
I want to try create something like Zend's Server Pagecache. What I want to
If i create an image with this method and then try to delete/modify the
I have taken thumbnail image from gallery which is smaller in size and resized
How do I flip an Screenshot image? I can't find my problem anywhere else.
I have set up a few models as follows: Page Gallery Image Gallery and

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.