Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting network activity indicator is deprecated

Tags:

ios

ios13

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.

like image 891
Ahmed Osama Avatar asked Jun 20 '19 18:06

Ahmed Osama


1 Answers

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.

like image 148
M Reza Avatar answered Nov 13 '22 12:11

M Reza