fix for 'jumping' issue when capturing screenshot#8
fix for 'jumping' issue when capturing screenshot#8tpalmer wants to merge 1 commit intoshinydevelopment:masterfrom
Conversation
|
Was this happening on device or on the simulator? Can you record a video of it happening please so we can see if we can reproduce it. Thanks for reporting the issue! |
|
Are you seeing this in other apps too? Looks like this is on iOS 9 from the screenshot. Do you see it on 8 as well? Could be something that is specific to iOS 9. I'm a little reluctant to merge this as is because afterScreenUpdates should really be YES and I'm pretty sure it will break this for other apps. We also don't really know why setting it to NO fixes it which is never a great situation to be in 🙈 Just in case anyone else is reading... Is anyone else seeing this? |
|
Could you also check whether it has the same behaviour when using renderInContext (see https://github.com/shinydevelopment/SDScreenshotCapture/blob/master/SDScreenshotCapture/SDScreenshotCapture.m#L59) as opposed to drawViewHierarchyInRect. If this fixes the issue for you, maybe there should be some way to force it to use renderInContext. |

I noticed that when capturing a screenshot, sometimes the view would zoom in then immediately zoom back out - I don't know if this is the ideal solution to the issue but it solved it for me. Let me know what you think.