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.

Recommended from Medium

What is @main in Swift

Adding Two Linked Lists — iOS Swift

Comparable Enums in Swift 5.3

Markdown Editor in SwiftUI

Many iPhone users are refusing to update iOS 13.7 because of contact tracing fear

Quickstart with Agora UIKit for iOS

Throttle Vs Debounce in the view of rapid click handling

iOS 14 Features — Revision Part-1

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


DevTechie creates tutorials at Also video courses on: and courses on:

More from Medium

Disclosure Group in SwiftUI

Build the Dollar Game Using SwiftUI

Displaying Borders in SwiftUI

SwiftUI Learning Curve