Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawing view is not supporting orientation. #84

Open
Akshaytule09 opened this issue Jun 5, 2017 · 1 comment
Open

Drawing view is not supporting orientation. #84

Akshaytule09 opened this issue Jun 5, 2017 · 1 comment

Comments

@Akshaytule09
Copy link

Hi,

I have used this pod in an iPad application. I am facing data discrepancy issue when I switch the orientation of the iPad.

Here are some details about the issue I am facing.

  1. Open the view to add stylus notes in portrait mode.
  2. Draw something at the bottom of the drawing view.
  3. Save the drawn data as UIImage and close this stylus notes view.
  4. Switch the orientation of the iPad to landscape and again open the saved image for preview in
    landscape mode.
  5. The content drawn at the bottom is no more visible.

Please let me know the possible solution for this issue.

Thanks.

@acerbetti
Copy link
Owner

I'm not sure how to solve this issue. As you notice, when you save the drawing, you will get an image.
if you change orientation, to load the image again, you can stretch it, or load using the original dimensions.

You can try to stretch it if you want to see the bottom part of it, but the drawing will look funny especially if you were using shapes like a circle or so...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants