How I Tested Amana Across Locations in the iOS Simulator

https://hackernoon.imgix.net/images/sNoL9lrPBOcXCkwYBP14v5gBJTZ2-s383ad4.jpeg

At ten in the morning in Tokyo, under 94% cloud cover, I needed my app's paywall to show a clear sunset.

Waiting was the obvious option. What I did instead took one command: I moved my iOS Simulator to Albuquerque, where it was 7 p.m. with no clouds at all, waited 22 seconds, and took the screenshot. No mock data, no code change, no image editing.

The same trick then carried my App Store screenshots — though the sunset in my final screenshot set came from somewhere much closer to home. This is how it works, where it stops working, and the script that grew out of it.

Why I couldn't just fake the sky

Amana is an iOS app that draws the sky outside your window — from the time, your location and the current weather — and then tries to get you to go look at the real...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE