Published in


New in SwiftUI and iOS 15: LocationButton

User’s location is probably the most sought out permission after notifications but its also the most sensitive piece of information. Over the years, Apple has invested lots of time to make sure that user’s information is not shared without their knowledge.

This also mean that when apps need user’s location permission they have to jump though many hoops to make it possible. While it is worth investing time when app relies on location for the most part like map based apps, but what about apps who need location permission just once:


-- is all about sharing knowledge by practical means. We focus on solving real world challenges via code.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store