PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • Sign in with Apple button
  • Creation with a Smart control
  • Creation with a Button control
  • Current Location button
  • Creation with a Smart control
  • Creation with a Button control
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
Overview
WINDEV Mobile includes several standard Apple buttons:
You can create these buttons directly from a Button control or via the Smart controls available in WINDEV Mobile.
Sign in with Apple button

Creation with a Smart control

To create a "Sign in with Apple" button with a Smart control:
  1. On the "Creation" tab, in the "Smart" group, expand "Smart controls". In the popup window that appears, enter "Sign in with Apple".
  2. Drag the "Sign in with Apple" control and drop it onto your window.
  3. The control is automatically created.
    The control is ready to use. You can tweak its code, if necessary.. This code uses the AppleSignIn function.
Remark: You can change the style of the control (see below).

Creation with a Button control

To create an Apple authentication Button control with the right look:
  1. Create a Button control in your window: on the "Creation" tab, in the "Usual controls" group, click "Button".
  2. If necessary, open the "Modifier" pane: on the "Home" tab, in the "Environment" group, expand "Panes", select "Panes", and then select "Modifier".
  3. Select the Button control: the characteristics of the control appear in the "Modifier" pane.
  4. In the "Details" section of the "Modifier" pane:
    • In "Sign In with Apple - Mode", select "Sign in".
    • In "Sign In with Apple - Style", select the desired style for the button ("According to theme", "Black", "White", "White outline").
Then, simple write the WLanguage code of the control to implement "Sign In with Apple".
This code must use the AppleSignIn function.
Current Location button

Creation with a Smart control

To create an "Apple location" button with a Smart control:
  1. On the "Creation" tab, in the "Smart" group, expand "Smart controls". In the popup window that appears, enter "Apple location".
  2. Drag the "Apple location" control and drop it onto your window.
  3. The control is automatically created.
    The control is ready to use. You can tweak its code, if necessary.. This code uses the GPSGetPosition function.
Remark: You can change the icon or the text of the control (see below).

Creation with a Button control

To create an "Apple location" Button control with the right look
  1. Create a Button control in your window: on the "Creation" tab, in the "Usual controls" group, click "Button".
  2. If necessary, open the "Modifier" pane: on the "Home" tab, in the "Environment" group, expand "Panes", select "Panes", and then select "Modifier".
  3. Select the Button control: the characteristics of the control appear in the "Modifier" pane.
  4. In the "Details" section of the "Modifier" pane:
    • In "Apple button", select "Location".
    • In "Apple Location button - Icon", select the type of icon that will appear next to the text ("None", "Filled arrow icon" or "Hollow arrow icon").
    • In "Apple Location button - Text", select the desired button text ("Current Location", "Send Current Location", "Send My Current Location", "Share Current Location" or "Share My Current Location").
Then, simple write the WLanguage code of the control to implement geolocation. This code must use the GPSGetPosition function.
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment