ios - After taking a screenshot, only the date picker appears with a gray-black shadow
三叔
三叔 2017-06-22 11:53:12
0
1
1197

Take a screenshot of the entire window
But the picture after the screenshot is different from the actual picture

The above is the screenshot code

The above is the screenshot effect

Why is there a black shadow?

三叔
三叔

reply all(1)
Peter_Zhu

Rewrite view.layer.render to view.drawHierarchy
My understanding is that render superimposes all view levels to obtain a combination of all view levels, resulting in black shadows
And drawHierarchy is explained in the document as Get the current context
My understanding is to only get the top-level view, that is, the view of the final effect visible to the user after rendering, so there will be no black shadow

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!