This is a demo to show the difficulty in grabbing a snapshot of a
Note the difference between the first segment, which renders the main view including the pink subview, and the second segment, which renders a blank gray area instead of the map view.
The map view is from the Alpstein Route-Me fork, which is essentially, in order:
- A generic
UIScrollViewthat pans & zooms containing
UIViewsubview backed by a
Note that the private API
UIGetScreenImage() captures the whole snapshot accurately in both cases. I've not found another method yet which does.