Geostay
Good for: anyone who splits the year between countries, between US states or both and wants every count worked out from the same record of where they were each day. If you start tracking mid-year, Geostay rebuilds past trips from the date and place stored with your photos, or from a Google Maps Timeline export, a Flighty export or a CSV file.
In Geostay, you add a counter for each country or state you need, choosing from the tax residency day tests of 184 countries, 27 US states and New York City. A Spain counter, for example, counts your days in the calendar year and shows how close you are to Spain's limit, which you cross after 183 days. Every counter follows the rule of its country or state, down to whether the day you arrive or leave counts.
What it offers: Geostay shows each test with its legal source and the date it was checked. For the UK Statutory Residence Test, it counts days you are in the UK at midnight, by tax year from 6 April. For the US Substantial Presence Test, it adds this year's days, a third of last year's and a sixth of the days of the year before. It records the country your iPhone is in each day, even when the app is closed. Because it works out the country from a map stored in the app, roaming and flight mode leave no gap. On days in the US, it also records which state you are in. Its counters for New York, Connecticut, Pennsylvania, Rhode Island and Minnesota do not count a day when you only pass through the state. Tapping Create a report makes a PDF of your day counts and your stays for the period you choose, plus a CSV day log with the date, country, state and city of each day. Any boarding pass or ticket you attached is included. Your travel history, photos and documents stay on your iPhone, and your locations are not sent to a server or a mapping service.
Consider: Geostay needs no account, so you move your record to a new iPhone by restoring a backup.