Viewing 10 posts - 1 through 10 (of 12 total)
  • Author
    Posts
  • #8248 Reply

    Piotr

    Hi,

    I’m trying to display to pages in landscape with properties like below:

    vc.setDisplayMode(PlugPDFDocumentDisplayMode.EBook)
    vc.fitType = PlugPDFPageFitType.Height // or .Width – it doesn’t change anything 

    but there are some problems with fit type

    It works in portrait orientation

    Portrait example

    but in landscape, I can’t scroll (up and down). I can zoom, but not scroll

    Landscape example

    Is there some kind of properties, that I should change to force it to work?

    Thanks for any help
    PS

    #8249 Reply

    Piotr

    Of course, it should be two pages (not to pages)

    #8253 Reply

    Dr. Plug
    Moderator

    Hi Piotr

    Could you give me a PDF file that problem has?
    If you give me PDF file we’ll try to find out the reason of problem as soon as possible.

    Best Regards,
    Dr.Plug

    #8264 Reply

    Piotr

    pdf:
    pdf example

    Thanks
    PS

    #8267 Reply

    Piotr

    It seems that problem occurs only on iPad (mini)

    #8289 Reply

    Dr. Plug
    Moderator

    Hi Piotr

    I’m so sorry for late.
    Thank you for your PDF, we could find that problem and we’ll fix that problem as soon as possible.
    and after fixing, i’ll let you know.

    Best Regards,
    Dr.Plug

    • This reply was modified 1 year, 6 months ago by  Dr. Plug.
    #8339 Reply

    Dr. Plug
    Moderator

    Hi Piotr

    I’m so sorry for late.
    But fortunately, Thank you for your feedback, we fixed that problem.
    At new version, you don’t have to setting a fit type.
    of course, if you set a [viewController setFitType: PlugPDFPageFitHeight], you can get the result you want.
    But actually, today has no schedule of release.
    we’ll release new version that bug is fixed at tomorrow.
    So could you wait for an one day?

    Best Regards,
    Dr.Plug

    #8424 Reply

    Dr. Plug
    Moderator

    Hi Piotr

    We release new version that problem is fixed!
    So could you check it?
    This is our new version link https://plugpdf.com/sdkfile/PlugPDF_iOS.zip

    Best Regards,
    Dr.Plug

    #8430 Reply

    Piotr

    Hi, thanks for reply

    it seems that the problem still exist:

    link to example project

    but as I said earlier, it occurs only on iPad

    PS

    #8502 Reply

    Dr. Plug
    Moderator

    Hi Piotr

    I got the what’s wrong with your project.
    you set your fit type as a PlugPDFPageWidth right?
    [viewController setFitType: PlugPDFPageFitWidth];
    But actually the pdf file’s height you give me is very long and width is very short (compare with height)
    So if you set a your fit type as a PlugPDFPageWidth, the height is cut.
    if you want to see a normal view, you have to set your fit type as a default or PlugPDFPageHeight.
    nothing or [viewController setFitType: PlugPDFPageFitHeight];

    Best Regatds,
    Dr.Plug

    • This reply was modified 1 year, 6 months ago by  Dr. Plug.
Viewing 10 posts - 1 through 10 (of 12 total)
Reply To: [iOS] Landscape problem
Your information: