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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:50:09+00:00 2026-05-27T03:50:09+00:00

I am loading a pdf file in my resource to a webview which is

  • 0

I am loading a pdf file in my resource to a webview which is a subview of a UIView. It’s working fine in all orientations. But when I zoom in and out once, then the landscape width is not getting to the pdf. The pdf file is still showing in the size of portrait mode..Can anyone help me ?

  • 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-27T03:50:10+00:00Added an answer on May 27, 2026 at 3:50 am

    You can call reload method on UIWebView object after some time to reload the webview in shouldautorotate method of the view controller.

    The only problem with this approach will be that the pdf file will scroll back to the first page(May be).

    But you can always use a third party library to display pdf files as uiwebview will not work with the pdf files larger than 10 MB. As it loads the hole pdf file into the memory.

    These are some links for displaying pdf files in ios devices.

    http://fastpdfkit.com/
    https://github.com/vfr/Reader

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

Sidebar

Related Questions

I have seen lot of threads about loading a PDF in Android Webview. But
I have an encrypted word/excel/pdf file locally stored which I need to preview in
I am loading a PDF from the web using a UIWebView, which works great
I have a NSMutableData object which contains a PDF file. I know how to
I am Using pdf in my application .i am loading PDF in webView .In
webview = (WebView) findViewById(R.id.webview); webview.getSettings().setJavaScriptEnabled(true); webview.loadUrl(http://officeofthemufti.sg/MaulidBooklet.pdf); I am using WebView try to loading pdf
I'm loading my files (pdf, doc, flv, etc) into a buffer and serving them
Try loading this normal .jpg file in Internet Explorer 6.0. I get an error
I have problems outputting UTF-8 characters into pdf file with Zend_Pdf. Here is my
I'm trying to load a existing pdf file, and fill this with database information.

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.