2
votes
Vote UpVote

Manipulating the icon badge numbers from an iOS FireMonkey application

The Hacker's Corner – Q: How do I update those little numeric indicators on my app’s icon to show how many notifications the user should have? A: By using setApplicationIconBadgeNumber Very simple unit that increments the icon badge number below. Enjoy! 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; procedure Button1Click(Sender: TObject); private { Private ...
Favorite? Off-Topic? Anders Ohlsson @ 2011-10-04 23:10

Statistics

Visits: 395
Votes: 2
Favorites: 1
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Rodrigo
vcldeveloper
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

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