ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing for iOS (iPhone / iPad)
  • Overview
  • The different steps of the wizard
  • Window orientation
  • Window content
  • Configuring the looper or the multiline zone
  • Tab bar or toolbar
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
The wizard for creating iPhone windows allows you to easily create a window containing all main elements of a window for an iPhone application.
These different elements can be added at any time into the window.
You can also configure different options in the window description.
At the end of the wizard, the window is created under the editor with the specified characteristics. In addition to the window, you can view the following elements in the editor:
  • the system bar,
  • the areas that correspond to the portrait or landscape mode (represented by dashes),
  • the location of the home bar (from iPhone X). It is recommended not to place any clickable control (button, etc.) at this location.
The different steps of the wizard

Window orientation

Several options are available:
Orientation options
These options can be modified in the editor, in the "Details" tab of the description window ("Orientation").
You also have the ability to specify whether automatic scrollbars must be displayed. The scrollbars will be automatically displayed if the size of the window is greater than the resolution of the screen on the device used.
Automatic scrollbars

Window content

You have the ability to create a window:
  • with navigation bar. This bar allows the user to close a window via a "Close" or "Back" button for example.
    To add a navigation bar to a window: under the "Window" pane, in the "Bars and menus" group, click on "Other bars" then select "For compatibility" and "Manual navigation bar (Navigation Bar iOS)".
  • with a looper or a multiline zone. This type of window is used to select an option, configure one or multiple options, etc.
  • with a Tab bar. In most cases, a "Tab bar" is used to access the different windows of the application.
    To add a theme bar to a window: under the "Window" pane, in the "Bars and menus" group, pull down "Other bars" then select "For compatibility" and "Manual theme bar (Tab Bar iOS)".
  • with a toolbar. In most cases, the toolbar is used to perform actions on the current window.
    To add a toolbar to a window: under the "Window" pane, in the "Bars and menus" group, pull down "Other bars" then select "For compatibility" and "Manual toolbar (iOS ToolBar)".
Difference between a tab bar and a toolbar:
  • A toolbar proposes actions on the current view.
  • A tab bar corresponds to tabs.

Configuring the looper or the multiline zone

If you have chosen to create a window with looper or with multiline zone, the different wizard planes allow you to configure this element.
  • Several types of preset loopers or multiline zones are available:
  • The following plane is used to configure the elements displayed in the looper or in the multiline zone.
  • For a looper, you have the ability to choose how the looper will be filled (programming, file link, variable link).
When the wizard is validated, the selected looper or multiline zone is automatically created in the window.
You have the ability to type the code used to handle it and to make it operate.
For a looper, the main WLanguage events to be modified are as follows:
  • RepeatString field initialization code: this event is used, for example, to fill the RepeatString field..
  • Line selection code: this event manages the actions performed when the user clicks on the standard arrow..
  • Image click code IMG_Disclosure: this event is used to manage clicks on the custom chip..
For more details, see:

Tab bar or toolbar

If this option was selected, specify the parameters of the bar:
  • Color,
  • Style,
  • Buttons displayed.
At the end of the wizard, the window is created with the specified bar. All you have to do is enter the code of the buttons.
Minimum version required
  • Version 17
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help