Activate certain part of app only when user is at a specific location

Hello, I am building an app for a golf course, and I need the score card aspect of the app (where the user marks their strokes - score) to only work when the device is at the golf course. Could someone point me in the right direction with this? I saw a feature like this in a theme park app so I know it can be done but I don’t really know where to start. I found tutorials for requesting location permission so I kinda have the initial thing but how do I move forward? Thanks

Hello this should be possible but it will require map permissions and maybe a background process that checks periodically checks your location from time to time…
If you are a member of cwc+ we have a few tutorials about mapkit maybe it can help you familiarize with it