在状态栏上显示提示加载器

    UIApplication *app = [UIApplication sharedApplication];  

    if (app.isNetworkActivityIndicatorVisible) {  

        app.networkActivityIndicatorVisible = NO;  

    }else {  

        app.networkActivityIndicatorVisible = YES;  

    }  


你可能感兴趣的:(在状态栏上显示提示加载器)