Skip to content

Instantly share code, notes, and snippets.

@kylehowells
Created November 23, 2013 22:12
Show Gist options
  • Save kylehowells/7620645 to your computer and use it in GitHub Desktop.
Save kylehowells/7620645 to your computer and use it in GitHub Desktop.
Get application snapshot image path iOS 5 & 6
var name = [app _currentDefaultPNGName];
@"UIApplicationAutomaticSnapshotDefault"
[app defaultImagePathForCurrentOrientationWithName:name];
@"/var/mobile/Library/Caches/Snapshots/com.apple.weather/UIApplicationAutomaticSnapshotDefault-Portrait@2x.png"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment