Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   Umsetzung von XCode nach Delphi (https://www.delphipraxis.net/176728-umsetzung-von-xcode-nach-delphi.html)

romber 6. Jan 2014 23:08

AW: Umsetzung von XCode nach Delphi
 
Zitat:

Zitat von daywalker9 (Beitrag 1242467)
Im FormCreate? Probiere es mal per Button click

Ja, das ist es. Mit ButtonClick klappts, vielen Dank.
Warum ist das so? Was ist das Problem mit FormCreate? Wo liegt in dem Fall der Unterschied zwischen Click und FormCreate? In Xcode hatte ich immer bereits in applicationDidFinishLaunching die Notifications aboniert. In Firemonkey wird diese Methode lange bevor FormCreate aufgerufen.

[EDIT]
Wenn man die setBatteryMonitoringEnabled aktiviert, bevor man die Notification beantragt, klappt auch mit FormCreate.


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:14 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz