Help / Developing for iOS (iPhone / iPad)
  • Overview
  • Creating a project for iOS with WINDEV Mobile
  • Creating an iPhone/iPad project with WINDEV Mobile
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Several steps must be performed to develop an iPhone/iPad application:
Creating a project for iOS with WINDEV Mobile

Creating an iPhone/iPad project with WINDEV Mobile

To create an iPhone/iPad project with WINDEV Mobile:
  1. Click in the quick access buttons.
    • The new element window appears: click "Project".
    • The project creation wizard starts.
  2. Choose the type of project to create: in our case, select "Android or iOS application".
  3. Go to the next step of the wizard.
  4. Choose the desired platform. For an iOS project, select "iOS only" and go to the next step.
  5. Specify whether the new project should be blank or based on an example. Go to the next step.
  6. The wizard proposes to select the type of devices affected by the project:

    Remark: If the application is intended to be used on multiple iOS devices (phones with different screen sizes or resolutions, for example), WINDEV Mobile shows the smallest resolution by default to create the application windows. Using anchors will allow the application to operate on all the devices.
  7. Choose the name and location of your project. You have the ability to enter a short description of the project. Go to the next step.
    Remark: no accented character should be used in the project name.
  8. Add (if necessary) design documents to the project. Go to the next step.
  9. Specify whether this project must be included in the Source Code Manager (SCM). The Source Code Manager simplifies teamwork and it can also be useful if you are working on your own. Go to the next step.
  10. Select the code style of your application. Go to the next step.
  11. Select the style book of your application. Go to the next step.
  12. Select the supported languages. These languages will be proposed by default as soon as an option of an element (control, window, ...) can be translated. Specify (if necessary) the options that must be taken into account for each language (management of numbers, dates, ....
    • To select the default language displayed in the editor, select the requested language and select "Default language" from the popup menu.
    • To select the default language at runtime, select the requested language and select "Default language at runtime". This language will be used to view the project at runtime.
  13. Specify whether the project uses a database. Indeed, the created project can be associated with an analysis. The data files can have the following format:
    • HFSQL Classic.
    • HFSQL Client/Server.
    Remark: No accented character should be used in the names of the data files.
  14. The wizard for project creation is over. The wizard for analysis creation is started if the creation of a database was requested.
  15. 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.
  • To insert images and icons into your iPhone/iPad applications, the image catalog proposes specific images. All you have to do is select the "iOS" theme during your search.
  • For your iPhone and iPad applications, use the "ActivPhone 4" or "ActivPhone 7" skin template.
  • iOS uses character some fonts that are specific to Apple. These fonts are owned by Apple. These fonts can be used in the editor.
    If this font is not available in Windows and it is selected by a control found in an iOS window, a substitution font will be temporarily used for the display in the editor and in the simulator of the development computer. The Apple font will be used when running the application.
  • Caution: The iOS projects are in "Unicode" mode. The line of code:
    MyString is string
    means that MyString is a Unicode string.
Related Examples:
WM Click on Chart Cross-platform examples (WINDEV Mobile): WM Click on Chart
[ + ] The "WM Click on Chart" example proposes a solution for pulling out the sections of a Pie chart via a simple click.
This example includes a control template named "TPLC_PullOutChart". This control template is used to pull out the chart sections via a simple click.
To include this feature in another application, all you have to do is import the "TPLC_PullOutChart" template.
WM Managing Contacts Cross-platform examples (WINDEV Mobile): WM Managing Contacts
[ + ] This example presents the management of contacts for Android et iOS.
It is used o:
- list the contacts found on the phone
- call the contacts
- send SMSs to the contacts
- ...
WM Attendance Cross-platform examples (WINDEV Mobile): WM Attendance
[ + ] This application is an attendance manager. It allows you to list the persons who attended a meeting.
The database is filled beforehand with the list of registered persons.
You have the ability to find a person by using his/her name.
The following topics are presented in this example:
1/ using a browsing looper based on a query
2/ using a database in HFSQL format.
WM RSS Reader Cross-platform examples (WINDEV Mobile): WM RSS Reader
[ + ] This example is a reader of RSS stream for the Android and iOS devices. This application allows you to follow the features of your favorite streams. This reader supports the images containing a post as well as the links toward an external site. Furthermore, it also included a system for managing the favorites.
WM Password Cross-platform examples (WINDEV Mobile): WM Password
[ + ] Web sites, bank accounts, ... passwords are everywhere in out life. With WM Password, no need to store all the passwords of your different accounts. The application stores all your passwords in a secure way. WM Password can also generate secure passwords for you.
WM Expense Account Cross-platform examples (WINDEV Mobile): WM Expense Account
[ + ] This example allows you to manage your fees.

Let's see the main features of this application:
- The input of invoices
- Management of foreign currencies
- Inclusion of photo document for the invoices
- Ability to email the expense account
- Ability to track the expense accounts
- ...
WM Stocks Cross-platform examples (WINDEV Mobile): WM Stocks
[ + ] This application is used to perform stocktaking and to save the results in a database.
The example is used to create entries/exits in the stock, by directly scanning the bar code of products.
It is optimized to be run on tablets.
WM System Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS.
The following system functions are used:
- Multimedia control
- Brightness
- Volume
- Wi-Fi
- Bluetooth
- Toast
- Compass
- Accelerometer
- Camera control
- Vibration
- Notifications
- Drawing functions
- Internet
WM Tic Tac Toe Cross-platform examples (WINDEV Mobile): WM Tic Tac Toe
[ + ] WM Tic Tac Toe
This example is a version of the famous "Tic Tac Toe" game.

Summary of the example supplied with WINDEV Mobile:

This example allows you to play "Tic Tac Toe" on an Android device, on an iOS device or on a device compatible with Universal Windows 10 App.

The purpose of this game is straightforward: align 3 pawns before your opponent does
Minimum version required
  • Version 17
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help