2
votes
Toggling the Status Bar using an iOS FireMonkey application
The Hacker's Corner
– Q: How do I turn on/off the Status Bar on the iPhone? A: By calling setStatusBarHidden Below, a simple unit that shows how to toggle the status bar using different animations - none, fade, and slide. The example also shows how to toggle the network activity indicator. unit Unit1; {$IFDEF FPC} {$mode objfpc}{$H+} {$modeswitch objectivec1} {$ENDIF} interface uses SysUtils, Types, UITypes, Classes, Variants, FMX_Types, FMX_Controls, FMX_Forms, FMX_Dialogs {$IFDEF FPC} , iPhoneAll {$ENDIF} ; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; ...
Statistics
|
Visits by Source |
User Actions |




