I think commenter was pointing that an Android app can fetch location even from the background (albeit w/ limits on frequency due to power consumption). It just needs to get that one Location permission from the user.
iOS has a fine-grained permission setting for this - you can decide whether to allow the app to access location or not when it's not in foreground, i.e "While Using the App".
iOS has a fine-grained permission setting for this - you can decide whether to allow the app to access location or not when it's not in foreground, i.e "While Using the App".