The event will mark the network IOS show and hide the status bar
// sending a request to the server status bar displays network activity indicator:
[[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:YES];
// This is the code for sending the server request
// end of the request status bar is hidden network activity indicator:
[[UIApplication sharedApplication] setNetworkActivityIndicatorVisible:NO];
Reproduced in: https: //www.cnblogs.com/someonelikeyou/p/4015937.html