I have noticed that some apps like Safari and Mail show a loading indicator in the status bar (the bar at the very top of the phone) when they are accessing the network. Is
The status bar network activity indicator was deprecated in iOS 13.
Using UIApplication.shared.isNetworkActivityIndicatorVisible = true will not work anymore.
UIApplication.shared.isNetworkActivityIndicatorVisible = true
The deprecation message says:
Provide a custom network activity UI in your app if desired.