The following very short snippet shows you how to set/clear the network activity indicator on iOS.

uses
  iOSapi.UIKit;

function SharedApplication: UIApplication;
begin
  Result := TUIApplication.Wrap(TUIApplication.OCClass.sharedApplication);
end;

procedure TForm2.Button1Click(Sender: TObject);
begin
  SharedApplication.setNetworkActivityIndicatorVisible(not SharedApplication.isNetworkActivityIndicatorVisible);
end;

相关文章:

  • 2022-12-23
  • 2021-08-01
  • 2022-01-07
  • 2021-12-26
  • 2021-05-16
  • 2022-12-23
  • 2022-01-27
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2021-05-20
相关资源
相似解决方案