AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Desarrollar para iOS (iPhone/iPad)
  • Overview
  • Creating a project for Apple Watch with WINDEV Mobile
  • Developing an application for Apple Watch with WINDEV Mobile
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Overview
An Apple Watch application is an application intended for a watch associated with an iOS device (phone, tablet, ...).
An Apple Watch application is always associated with an iOS application with which it can exchange data.
Several steps must be performed to develop an Apple Watch application:
This help page presents the creation of an Apple Watch project and its development. It is generated and compiled in the same way as a standard iOS application.
Creating a project for Apple Watch with WINDEV Mobile
To create an Apple Watch project with WINDEV Mobile:
  1. Create a project for iOS (for more details, see Developing an application for iPhone/iPad).
  2. Create an Apple Watch configuration:
    • Start the wizard for creating a new configuration: in the "Project Explorer" pane, display the context menu for the "Configurations" option and select "New configuration".
      For more details, see Project configuration.
    • In the "General information" step of the wizard, select "Apple Watch application".
    • In the "Associated iOS application" step of the wizard, select the iOS configuration of the project associated with the Apple Watch configuration.
Developing an application for Apple Watch with WINDEV Mobile
The method for developing an Apple Watch application and its associated iOS application is identical to the method for developing a standard application.
For the iOS application, you create the different elements of your application. The method for developing the project is identical to the method for developing a WINDEV Mobile project. However, there are some aspects specific to iOS development. For more details, see Specific features of iOS applications.
For the Apple Watch application, you can:
  • create windows. These windows are in Apple Watch format.
  • add controls into the windows. Only the Static, Button and Image controls are available in an Apple Watch application.
  • use WLanguage functions, properties and types. The icon is used to find out whether the feature is available in Apple Watch.
The iOS application and the Apple Watch application can exchange data by using the following functions:
awProcedureGetAndSendInfoSpecifies the WLanguage procedure that will be called when receiving information coming from awSendAndGetInfo.
awProcedureGetInfoSpecifies the WLanguage procedure that will be called when receiving information coming from awSendInfo.
awSendAndGetInfoSends data from an iOS phone to an Apple Watch (or conversely) while expecting a response.
awSendInfoSends an information from an iOS phone to an Apple Watch (or conversely).
When the development is completed, you can generate the Xcode project used to compile the Apple Watch application and its associated iOS application on MAC:
  1. Click in the quick access buttons.
  2. Choose (if necessary) the first window displayed on the different platforms (iPhone, iPad and Apple Watch).
  3. The generation wizard starts. For more details on Xcode project generation, see Generating the application.
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 08/10/2024

Señalar un error o enviar una sugerencia | Ayuda local