Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   iOS SharedApplication undefinded -warum? (https://www.delphipraxis.net/206059-sharedapplication-undefinded-warum.html)

wurzelsepp1 15. Nov 2020 13:18

SharedApplication undefinded -warum?
 
Moin Experten :)

Ich habe mal wieder ein Verständnisproblem:

Bei dem Versuch, ein Projekt für iOS zu compilieren, bekomme ich einen 'SharedApplication undefinierter Bezeichner E2003'.

In meiner USES Liste stehejedoch die verdächtigen units:

Code:
  {$IFDEF IOS}
  Macapi.ObjCRuntime,
  Macapi.ObjectiveC,
  Macapi.Helpers,
  IOSApi.Foundation,
  IOSApi.UIKit,
  IOSApi.QuartzCore,
  IOSApi.CocoaTypes,
  FMX.WebBrowser.Delegate.Cocoa,
  IdUri,
  {$ENDIF IOS}
Der Aufruf der Fuktion sieht dann wie folgt aus:

Code:
 if SharedApplication.canOpenURL(NSU) then
    SharedApplication.openUrl(NSU);
Hat vielleicht jemand eine Idee, wo die Funktion zu Hause ist?

Ich nutze Delphi 10.4.1

Danke & einen schönen ..
Alex


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:25 Uhr.

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