Vote UpVote

An example of using an iOS API that we don’t wrap

The Hacker's Corner – 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; Share This | Email this page to a friend
Favorite? Off-Topic? Anders Ohlsson @ 2013-04-30 19:33


Visits: 976
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)