mrackwitz / MRProgress

Collection of iOS drop-in components to visualize progress
MIT License
2.55k stars 306 forks source link

Use drawViewHierarchyinRect when applicable #109

Open HighKo opened 8 years ago

HighKo commented 8 years ago

This request has 2 purposes: 1) Avoid crashes in iOS 9 when -renderInContext is called at this point 2) Increase performance, when -drawViewHierarchyInRect is available

mrackwitz commented 8 years ago

This reverts this change here, which is sadly poorly documented. Overall this has a lot of edge cases and needs some manual testing on device with orientation changes and e.g. navigation controller animations. But if it is still currently crashing, than it is unlikely, that even if that would be a regression, it will be fixed soon.