How to show activity indicator like here?
In this moment i'm using custom UIViewController that have activity indicator. I just show it with
show(_ vc: UIViewController, sender: Any?)
but i feel like it's wrong way. The reason is that in that case i have problem with menu button. I want to catch press action and pass in to paren view controller. Now press button just close view controller with activity indicator.In the app provides by apple i saw loader screen like on the screenshot and it work the same way i want. I didn't found something like this in the UIKit so i have no idea what to do.