ビルド時プロパティは、Lua構文を使用するオプションのbuild.settingsファイルで提供することができます。 hereのサンプルを使用してplist値を設定および取得できます。
settings =
{
orientation =
{
default = "portrait",
supported =
{
"portrait", "portraitUpsideDown", "landscapeRight", "landscapeLeft"
}
},
iphone =
{
plist =
{
UIInterfaceOrientation = "UIInterfaceOrientationLandscapeRight",
UISupportedInterfaceOrientations =
{
"UIInterfaceOrientationLandscapeLeft",
"UIInterfaceOrientationLandscapeRight"
},
UIApplicationExitsOnSuspend = true,
UIStatusBarHidden = true,
UIPrerenderedIcon = true
}
}
}
settings.iphone.plist["UIInterfaceOrientation~ipad"] = "UIInterfaceOrientationPortrait"
settings.iphone.plist["UISupportedInterfaceOrientations~ipad"] =
{
"UIInterfaceOrientationPortrait",
"UIInterfaceOrientationPortraitUpsideDown"
}
単純にアプリケーションのバージョン番号で変数を作成して、自分で更新することはできませんか?可能であれば、[system.getPreference](http://developer.anscamobile.com/content/system-os)で利用可能になります。 –