Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11614 Reply

    Basant

    Hello,

    Kindly i have issue in iPhone as the rotationLock doesn’t work, i set it to NO and still pdf doesn’t rotate screen

    Best Regards

    #11619 Reply

    Dr. Plug
    Moderator

    Hello Basant

    Sorry for the delay.
    You can set the value with YES, then it would work properly.
    The method description does not provide the correct value.

    If you have any further help, please let us know.

    Best regards,

    Dr,Plug
    PlugPDF Support

    #11624 Reply

    Basant

    Hello,
    I’m following the tutorial steps and I’ve tried both flags with no success to rotate the pdf
    Do you have any limitation for the parent view controller that may limit the rotation?

    Please see my following code snippet :

    #11625 Reply

    Dr. Plug
    Moderator

    Hello Basant

    You do not need to add any code for rotating view basically.
    On the other hand, you can set the code to do not change your view by horizontal and vertical way.
    I have tested this issue several times with simulator and ipad, but it is working fine.
    Could you remove the code ” [viewController setRotationLock:YES]; ” if you want to rotate view?

    If you have any further help, please let us know.

    Best regards,

    Dr,Plug
    PlugPDF Support

    #11637 Reply

    Basant

    Hello,
    Thank you for your response.
    I got the cause of the problem ,my navigationController orientation is set to portrait.
    so how can i access this methods of plugPDFViewController to change the orientation of plugPDFViewController only

    SO i can change the orientation of the plugPDFViewController without changing the orientation of the whole App

    #11641 Reply

    Dr. Plug
    Moderator

    Hello Basant,

    Thank you for your question.
    What I am thinking about your question is that there is no way to change the PlugPDFViewController only,
    However, there is a way to set DisplayMode.
    For example:

    I hope this will help you.

    Best regards,

    Dr.Plug,
    PlugPDF Support.

    • This reply was modified 1 month, 2 weeks ago by  Dr. Plug.
    • This reply was modified 1 month, 2 weeks ago by  Dr. Plug.
    • This reply was modified 1 month, 2 weeks ago by  Dr. Plug.
    • This reply was modified 1 month, 2 weeks ago by  Dr. Plug.
    • This reply was modified 1 month, 2 weeks ago by  Dr. Plug.
Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: rotation lock doesn't work
Your information: