|
|
|
|
|
- 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 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: - On the "Creation" tab, in the "Smart & Favorites" group, expand "Smart controls". In the popup window that appears, enter "Sign in with Apple".
- Drag the "Sign in with Apple" control and drop it onto your window.
- The control is automatically created. The control is ready to use. You can tweak its code, if necessary.. This code uses the AppleSignIn function.
Note: It is possible to modify the style of the field (see below).. Creation with a Button control To create an Apple authentication Button control with the right look: - Go to the "Creation" tab, "Usual controls" group, and click "Button".
- If necessary, open the "Modifier" pane. Go to the "Home" tab, "Environment" group, expand "Panes", select "Panes", and then click "Modifier".
- Select the Button control to see its characteristics in the "Modifier" pane.
- In the "Details" section of the "Modifier" pane:
- In "Apple button", select "Sign in".
- In "Sign In with Apple button - 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. Creation with a Smart control To create an "Apple location" button with a Smart control: - On the "Creation" tab, in the "Smart & Favorites" group, expand "Smart controls". In the popup window that appears, enter "Apple location".
- Drag the "Apple location" control and drop it onto your window.
- The control is automatically created. The control is ready to use. You can tweak its code, if necessary.. This code uses the GPSGetPosition function.
Note: It is possible to change the icon or the field label (see below).. Creation with a Button control To create an "Apple location" Button control with the right look - Go to the "Creation" tab, "Usual controls" group, and click "Button".
- If necessary, display the "Modifier" pane: under the "Home" pane, in the "Environment" group, pull down "Panes" and select "Panes" then "Modifier".
- Select the Button control to see its characteristics in the "Modifier" pane.
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|