- LiveCode Mobile Development Cookbook
- Dr Edward Lavieri
- 207字
- 2021-08-05 18:03:59
Creating a new main stack
One of the most fundamental tasks in LiveCode is to create a new main stack. Every LiveCode app has a main stack, at least one card, objects, and code. In this recipe, you will learn the steps required to create a new main stack.
How to do it...
To create a new main stack, follow these steps:
- Open LiveCode.
- From the pull-down menu, select File, and then select New Main Stack.
- You now have a new main stack that you can start using for your mobile app. The next step is to set the stack's size properties to match the mobile environment your app will support. Using the property inspector, select Size & Position, and make the necessary adjustments based on the following table:
How it works...
Setting the height and width via the Size & Position section of the property inspector establishes the size boundaries of your mobile app. By swapping the height and width values, you can designate landscape or portrait orientation.
There's more...
Mobile device screen resolutions are subject to change with new devices, so it is important that you check what resolutions your target device supports. This information is usually available via the Apple and Android development sites.
推薦閱讀
- 廣電5G從入門到精通
- 物聯(lián)網(wǎng)與北斗應(yīng)用
- FreeSWITCH 1.2
- MERN Quick Start Guide
- 網(wǎng)絡(luò)故障現(xiàn)場處理實踐(第4版)
- 無人機通信
- NB-IoT物聯(lián)網(wǎng)技術(shù)解析與案例詳解
- 2018網(wǎng)信發(fā)展報告
- 計算機網(wǎng)絡(luò)與通信(第2版)
- 網(wǎng)絡(luò)安全應(yīng)急響應(yīng)技術(shù)實戰(zhàn)指南
- 端到端QoS網(wǎng)絡(luò)設(shè)計
- 高級網(wǎng)絡(luò)技術(shù)
- 網(wǎng)絡(luò)綜合布線(第2版)
- 計算機網(wǎng)絡(luò)技術(shù)
- Intelligent Mobile Projects with TensorFlow