How to adaptively display a large image when first appear #3
Unanswered
weiminghuaa
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Thank you for finding interest in the project. Yeah, I don’t think PencilKit is flexible enough for something like this yet Wow, are your images taking too long to be processed? Anyway, answering your question, you would need to adjust the zoomScale of the UIScrollView in the ViewController. In the createColoringBookView method after adding the new coloring book view to the scrollView calculate how much zoom do you need to start with based on the size of the new coloring book view |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a great project to implementation of a Coloring Book app. I first tried to implement it with PencilKit, but encountered a lot of problems. This project helped me, thank you very much. It’s just that some images are very big in my project, how can I solve it,let the image to adapt to a fixed size at first time diaplay?
Beta Was this translation helpful? Give feedback.
All reactions