Viewing 10 posts - 1 through 10 (of 11 total)
  • Author
    Posts
  • #8282 Reply

    Yuriy Makhin

    only happens on an iPad (Air) for me

    steps: launch pdf while device is in landscape mode
    rotate to portrait mode
    notice the white horizontal bar overlapping the pdf; it doesn’t go away

    please advise

    #8283 Reply

    Yuriy Makhin

    Figured out that white bar is the page scrolling bar (white cause I removed bg color).
    It resets itself down to the bottom of the screen on tap.
    Also, this only happens if document starts with toolbars initially hidden.

    #8285 Reply

    Dr. Plug
    Moderator

    Hello Yuriy,

    Could you give me a photo or video to explain that problem?
    Actually, I can’t see that problem when using simulator.
    So if you give me a visual thing to show that problem, It would be very helpful to fix the problem.
    And there is one more thing, could you let me know your OS of device? ( Android , iOS)

    Best Regards,
    Dr. Plug.

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

    Yuriy Makhin

    Hi thanks for speedy reply.
    Here are the images:

    1. launching app in landscape mode
    http://imageshack.com/a/img540/7941/c47Piq.png

    2. rotating to portrait mode – see the bug?
    http://imageshack.com/a/img908/8876/FJ01Q3.png

    3. tapping on the screen shows navbar and resets position of the glitching bar
    http://imageshack.com/a/img905/8890/FqNVKb.png

    #8299 Reply

    Yuriy Makhin

    Oh yeah, all of those were made in simulator, the problem happens on actual iPad too. Using latest iOS.

    #8305 Reply

    Dr. Plug
    Moderator

    Hello Yuriy,

    Thank you for your image file.
    But unfortunately, we couldn’t realize a same problem. (we used a iPad Air simulator.)
    We followed this 2 step. could you tell me if there is a something wrong?
    1. start at a landscape mode.
    2. rotate to portrait mode.
    I think there are something that i missed.
    so could you give me a video link that problem has? ( that would be very helpful to realize a problem)

    Best Regards,
    Dr.Plug

    #8684 Reply

    Yuriy Makhin

    OK, I did some research and created some code to reproduce the problem.
    Take PlugPDF “CustomizingPlugPDFDocumentViewController” example and add this code at the bottom of method
    – (void)openPlugPDFDocumentViewControllerWithPath: (NSString*)path password: (NSString*)password {

    PlugPDFNavigationController * _plugPDFNavController = [[PlugPDFNavigationController alloc] initWithRootViewController:viewController];
    [[_plugPDFNavController navigationBar] setTranslucent:YES];

    [[self navigationController] presentViewController:_plugPDFNavController animated:YES completion:^{
    [UIViewController attemptRotationToDeviceOrientation];
    }];

    Comment out the standard presentation code ([[self navigationController] pushViewController: viewController animated: YES] ).
    What exactly this means: we can’t use the PlugPDFNavigationController from scratch like you do because we have our own sophisticated navigation controller, and can’t replace it with yours. So instead we create it and present it. It works, but this bug happens.

    So, when you run the example with this change, just rotate it to landscape before clicking on file name, then click, let page load and immediately rotate to portrait – and you should see the bottom toolbar pop to the middle of the page – just like in screenshots.

    Please let me know if this wasn’t clear, I’ll upload source code with the changes.

    #8776 Reply

    Dr. Plug
    Moderator

    Hello Yuriy,

    Thank you for feedback.
    So we’ll try to reproduce a problem. Could you wait for a few days?
    After finding a reason, I’ll let you know.

    Best Regards,
    Dr.Plug

    #9278 Reply

    Dr. Plug
    Moderator

    Hi Yuriy,

    I’m so sorry for late. But fortunately, We fixed this problem and applied to new version which will be released on Wednesday.

    So could you wait for a one day?

    Regards,
    Hwan

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

    Dr. Plug
    Moderator

    Hi Yuriy,

    We fixed that problem so could you check it?
    This is download link.
    https://plugpdf.com/sdkfile/PlugPDF_iOS.zip

    Regards,
    Hwan

Viewing 10 posts - 1 through 10 (of 11 total)
Reply To: bug: ipad: white bar overlaps pdf when rotating from landscape to portrait
Your information: