Modal Activity Indicator - Is there a standard or best practice?

Every once in a while I find myself in need of a modal activity indicator that completely blocks the app (except for the activity indicator itself being tappable and therefore acting as a cancel button). I have always implemented my own view for that. The screenshot is showing my current implementation in SwiftUI.

My question: why isn't there a standard iOS provided view for that scenario? Is there a best practice to that? Or am I missing something?

Isn't it a common scenario having to block the app until an operation is completed like in the registration view of the attached screenshot, where the user has to wait for the network operation to finish?

Post not yet marked as solved Up vote post of l00 Down vote post of l00
417 views