This App uses the World Magnetic Model developed by NOAA to determine the magnetic declination very accurately at any latitude, longitude and elevation of your choice, anywhere on the planet.
This App was originally introduced using objective-C tools and has now been upgraded with new features to Swift and SwiftUI tools.
There is a full built-in description in the App.