Form Factor Settings in RAD Studio
Go Up to Creating an iOS App
The following table summarizes the RAD Studio settings that determine the form factor used by your iOS application. When you create an iOS app, you might need to set these values.
Property or Setting and Location in Product |
Possible Values | Description |
---|---|---|
Views |
|
Views allow you to customize the application for a given device or a type or device. |
Target Platform |
|
For the iOS Simulator target platform, the target determines the form that the iOS simulator uses (such as iPad instead of iPhone, or vice versa). For the iOS device target platforms (iOS Device - 32 bit and iOS Device - 64 bit):
For more information, see Target Platforms Overview. |
UIDeviceFamily (One of the Key/Value pairs you can set on Project > Options > Version Info) |
|
For the iOS Simulator and iOS Device, you need to set UIDeviceFamily. This is an important setting if you are building an app that you want to be optimized for and laid out for a specific device, and simultaneously not optimized for and laid out for any other device. (That is, you would want to target iPad exclusively if your app requires more "real estate" than the iPhone screen provides.) For example, setting UIDeviceFamily to iPad means that your app is designed to run only on an iPad, and not an iPhone.
|
iOS Simulator |
|
Use this setting if you want to run an already deployed app on a different device in the iOS Simulator. Does not override the UIDeviceFamily setting on the Version Info page. |
Project > Options > Application |
|
The iPad and iPhone tabs contain fields for setting the application icon and launch images (PNG files). The Orientation tab applies to any iOS form factor. |