Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/97.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 除了使用发布故事板,我还需要做些什么来支持iPad Pro';什么是完全解决方案?_Ios_Ipad_Marmalade - Fatal编程技术网

Ios 除了使用发布故事板,我还需要做些什么来支持iPad Pro';什么是完全解决方案?

Ios 除了使用发布故事板,我还需要做些什么来支持iPad Pro';什么是完全解决方案?,ios,ipad,marmalade,Ios,Ipad,Marmalade,我有一个应用程序,它是使用Marmalade跨平台开发SDK创建的(即,应用程序包不是用Xcode构建的),当前显示为按比例放大的1536x2048分辨率,而不是全尺寸的2048x2732分辨率 我使用的是Launch StoryboardLaunchScreen.nib,它是从一个以正确分辨率显示的应用程序复制过来的 Info.plist包含以下行: <key>UILaunchStoryboardName</key> <string>LaunchScreen

我有一个应用程序,它是使用Marmalade跨平台开发SDK创建的(即,应用程序包不是用Xcode构建的),当前显示为按比例放大的1536x2048分辨率,而不是全尺寸的2048x2732分辨率

我使用的是Launch Storyboard
LaunchScreen.nib
,它是从一个以正确分辨率显示的应用程序复制过来的

Info.plist包含以下行:

<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
UILaunchStoryboardName
发射屏
故事板在启动时显示,但应用程序以错误的分辨率显示。(通过查看操作系统呈现的状态栏可以轻松看到。)


要使应用程序以正确的分辨率运行,还需要什么?答案取决于您使用的图形api。 如果您使用IwGL,请在app.icf(VirtualWidth、VirutalHeight和VirtualLetterbox)中查看您的虚拟分辨率设置


如果使用IwGX,请检查返回IwGxGetScreenWidth()和IwGxGetScreenHeight()函数的值,并根据纵横比缩放视觉组件。

答案取决于您使用的图形api。 如果您使用IwGL,请在app.icf(VirtualWidth、VirutalHeight和VirtualLetterbox)中查看您的虚拟分辨率设置


如果您使用IwGX,请检查返回IwGxGetScreenWidth()和IwGxGetScreenHeight()函数的值,并根据纵横比缩放视觉组件。

除了使用启动情节提要外。我们已经在构建这个版本的SDK

然而,由于该应用程序是使用果酱而不是Xcode构建的,因此最终打包的Info.plist中的一些值是不正确的。(Xcode在构建过程中向应用程序的Info.plist添加了一些设置。)更新为以下值修复了该问题:

<key>BuildMachineOSBuild</key>
<string>15A282b</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>13C75</string>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>DTPlatformVersion</key>
<string>9.2</string>
<key>DTSDKBuild</key>
<string>13C75</string>
<key>DTSDKName</key>
<string>iphoneos9.2</string>
<key>DTXcode</key>
<string>0720</string>
<key>DTXcodeBuild</key>
<string>7C68</string>
buildmachineobuild
15A282b
DTC编译器
com.apple.compilers.llvm.clang.1_0
DTPlatformBuild
13C75
DTPlatformName
iphoneos
数据平台版本
9.2
DTSDKBuild
13C75
DTSDKName
iphoneos9.2
DTXcode
0720
DTXcodeBuild
7C68

这与我们使用果酱构建应用程序时遇到的问题基本相同。

除了使用启动情节提要之外。我们已经在构建这个版本的SDK

然而,由于该应用程序是使用果酱而不是Xcode构建的,因此最终打包的Info.plist中的一些值是不正确的。(Xcode在构建过程中向应用程序的Info.plist添加了一些设置。)更新为以下值修复了该问题:

<key>BuildMachineOSBuild</key>
<string>15A282b</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>13C75</string>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>DTPlatformVersion</key>
<string>9.2</string>
<key>DTSDKBuild</key>
<string>13C75</string>
<key>DTSDKName</key>
<string>iphoneos9.2</string>
<key>DTXcode</key>
<string>0720</string>
<key>DTXcodeBuild</key>
<string>7C68</string>
buildmachineobuild
15A282b
DTC编译器
com.apple.compilers.llvm.clang.1_0
DTPlatformBuild
13C75
DTPlatformName
iphoneos
数据平台版本
9.2
DTSDKBuild
13C75
DTSDKName
iphoneos9.2
DTXcode
0720
DTXcodeBuild
7C68

这与我们使用果酱构建应用程序时遇到的问题基本相同。

我想你误解了这个问题。IwGx提供的“屏幕”大小不正确,因此缩放我在其中绘制的组件将无济于事。问题是操作系统向Marmalade报告了错误的屏幕大小。我认为你误解了这个问题。IwGx提供的“屏幕”大小不正确,因此缩放我在其中绘制的组件将无济于事。问题是操作系统向Marmalade报告的屏幕大小不正确。