ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Phone functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
iOSAppGroupDirectory (Function)
In french: iOSRépertoireAppGroup
Returns the path of the container used to share files between several applications belonging to the same iOS App Group.
Example
let sContainer = iOSAppGroupDirectory("group.6233ABCD3.fr.pcsoft.devteam")
let nFile = fOpen(sContainer + [fSep] + "share.txt")
Syntax
<Result> = iOSAppGroupDirectory(<AppGroup>)
<Result>: Character string
Path of the directory that contains the files shared by the app group.
<AppGroup>: Character string
Name of the App Group.
Remarks
To allow multiple apps or widgets from the same publisher to use a shared storage space:
  1. In the Apple developer console:
    • Create an "App Groups" identifier.
    • In the application profile, add the "App Groups" capability and enter the identifier provided in the previous step.
  2. In the code of your application, use iOSAppGroupDirectory.
  3. Generate the iOS application. A specific "Dynamic Island" step will appear in the application generation wizard in WINDEV Mobile.
    In this step, you can provide the different App Group identifiers used to share files with other applications.
Business / UI classification: Neutral code
Minimum version required
  • Version 28
Comments
Click [Add] to post a comment

Last update: 05/12/2023

Send a report | Local help