Ahmed Osama
Ahmed Osama

Reputation: 874

Setting network activity indicator is deprecated

I just found that UIApplication.shared.isNetworkActivityIndicatorVisible is deprecated, but no alternative property or method is suggested to be used. I assume that iOS will handle showing and hiding network activity indicator starting from iOS 13.

Would someone who has iOS 13 Beta verify or deny this assumption?

Thanks.

Upvotes: 32

Views: 15292

Answers (1)

M Reza
M Reza

Reputation: 19698

I tested this on iOS 13 beta and nothing was shown in the status bar while performing a network activity. So the network activity indicator probably will not be displayed from iOS 13. The deprecation message says:

Provide a custom network activity UI in your app if desired.

Also note that the network activity indicator used to display on devices without edge-to-edge displays only.

Upvotes: 27

Related Questions