PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Creating a project for iOS with WINDEV Mobile
  • Creating an iPhone/iPad project with WINDEV Mobile
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
Several steps must be performed to develop an iPhone/iPad application: You have been using the pre-version: see the list of modifications for developing iPhone/iPad applications.
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. Select "File .. New" and click "Project". The wizard for project creation starts. Click among the quick access buttons.
    • Click "Project" in the wheel that is displayed. The window for creating a new element is displayed: click "Project".
    • The wizard for project creation starts.
  2. 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.
    Note: no accented character should be used in the project name.
  3. Add (if necessary) design documents to the project. Go to the next step.
  4. In the "Description - Type of project" step, select the "iPhone/iPad application" type. Go to the next step.
  5. Select the type of device for which the application is created (iPhone and/or iPad).
  6. 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.
  7. Select the programming charter of your application. Go to the next step.
  8. Select the style book of your application. Go to the next step.
  9. 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 run time, select the requested language and select "Default language at run time". This language will be used to view the project at run time.
  10. 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.
      Note: No accented character should be used in the names of the data files.
      Note: From version 19, HFSQL is the new name of HyperFileSQL.
  11. The wizard for project creation is over. The wizard for analysis creation is started if the creation of a database was requested.
  12. The method for developing the project is the same as the method for developing a WINDEV Mobile project. However, some specific features of the development for iOS must be complied with. See Specific features of iOS applications for more details.
To create an iPhone/iPad project with WINDEV Mobile:
  1. Click among the quick access buttons.
    • The window for creating a new element is displayed: click "Project".
    • The wizard for project creation starts.
  2. 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.
    Note: no accented character should be used in the project name.
  3. Add (if necessary) design documents to the project. Go to the next step.
  4. The wizard proposes to select the type of devices affected by the project:

    Note: If the application is intended to operate on several iOS devices (phones with different sizes or with different resolutions for example), we advise you to use one of the following options: "Generate an application for iPhone and iPad", "Generate an application for iPhone only" or "Generate an application for iPad only"..
    In this case, WINDEV Mobile proposes the smallest resolution to create the application windows. Using anchors will allow the application to operate on all the devices.
  5. 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.
  6. Select the programming charter of your application. Go to the next step.
  7. Select the style book of your application. Go to the next step.
  8. 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 run time, select the requested language and select "Default language at run time". This language will be used to view the project at run time.
  9. 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.
    Note: No accented character should be used in the names of the data files.
  10. The wizard for project creation is over. The wizard for analysis creation is started if the creation of a database was requested.
  11. The method for developing the project is the same as the method for developing a WINDEV Mobile project. However, some specific features of the development for iOS must be complied with. See Specific features of iOS applications for more details.
Notes:
  • 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" skin template. For your iPhone and iPad applications, use the "ActivPhone 4" or "ActivPhone 7" skin template .
  • Only the fonts available on the phone or on the iPad can be used. No font can be installed with an application for iPhone/iPad.
    Versions 19 and later
    iOS is using character fonts among which some of them 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.
    New in version 19
    iOS is using character fonts among which some of them 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.
    iOS is using character fonts among which some of them 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 code line:
    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 Registered Cross-platform examples (WINDEV Mobile): WM Registered
[ + ] 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.
iOS System iPhone/iPad (WINDEV Mobile): iOS System
[ + ] This application is an example presenting the use of various features.
The features are as follows:
- Playing videos
- Trace in the logs
- Slider
- Popup control
- Hourglass
...
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 required version
  • Version 17
Comments
Click [Add] to post a comment