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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T21:41:38+00:00 2026-05-21T21:41:38+00:00

I am developing an iPhone app in which there are big tables to show

  • 0

I am developing an iPhone app in which there are big tables to show on web view. I am planning to give a small image at the place of actual table and when the user will click on that, the actual image will open in another webView. I am looking for right direction. Please help.

  • 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-21T21:41:39+00:00Added an answer on May 21, 2026 at 9:41 pm

    Implement the UIWebViewDelegate protocol method shouldStartLoadWithRequest for your first webview containing your small images.

    When a user clicks your image you need to intercept this event and decide what and how to do.

    The shouldStartLoadWithRequest method is called when some kind of interaction is triggered in you webview, such as a link being clicked. Refer to the UIWebView documentation for more detail. The shouldStartLoadWithRequest has to return a BOOL to indicate the webview that it should proceed with the action the user performed(return YES) or not(return NO).

    Now that you know that a link has been clicked you have to make sure, that it has been an image. This is done by evaluate the url passed back by the request parameter. I’ve made up a method clickedOnImageWithUrl in the example, which will return YES if an image has been clicked. However, I don’t know what your small images embedded in a link look like I cannot provide any more detail on that method. If it returns YES you can show your new webView.

    Then the code could look like this to intercept a clicked link:

    - (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)aRequest navigationType:(UIWebViewNavigationType)navigationType
    {
        if (navigationType == UIWebViewNavigationTypeLinkClicked) {
            // check if user clicked on your image...clickedOnImageWithUrl is made up
            if([self clickedOnImageWithUrl:[aRequest url]]) {
    
                 // push new webview with image ...
    
                 return NO;
            }            
        }
    
        return YES;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In an iPhone app I am developing, there is a setting in which you
I am developing a small web app. There isn't any advanced functionality, just basic
I'm currently in the middle of developing an iPhone app with a big reference
I am developing an iphone app that uses a php web service for all
I am developing an iphone app, which records user voice and change it into
I'm developing an iPhone app which displays some tiles from a map. I've got
I am developing a chronometer app for iPhone which will used by the drivers
I'm developing an iPhone app at the moment using Appcelerator Titanium which has 3
I am developing an iphone app in which I am extracting RSS feeds and
I am developing an iPhone app which requires charts. Hence I am using API

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.