Browse Source

Introjucer: Fixed a typo in the iOS project generation that creates the launch-image info file.

tags/2021-05-28
jules 10 years ago
parent
commit
ae271f09de
3 changed files with 6 additions and 6 deletions
  1. +1
    -1
      examples/Demo/Builds/iOS/JuceDemo/Images.xcassets/LaunchImage.launchimage/Contents.json
  2. +1
    -1
      examples/HelloWorld/Builds/iOS/HelloWorld/Images.xcassets/LaunchImage.launchimage/Contents.json
  3. +4
    -4
      extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h

+ 1
- 1
examples/Demo/Builds/iOS/JuceDemo/Images.xcassets/LaunchImage.launchimage/Contents.json View File

@@ -8,7 +8,7 @@
"scale": "2x"
},
{
"orientation": "portrait",
"orientation": "landscape",
"idiom": "iphone",
"extent": "full-screen",
"minimum-system-version": "7.0",


+ 1
- 1
examples/HelloWorld/Builds/iOS/HelloWorld/Images.xcassets/LaunchImage.launchimage/Contents.json View File

@@ -8,7 +8,7 @@
"scale": "2x"
},
{
"orientation": "portrait",
"orientation": "landscape",
"idiom": "iphone",
"extent": "full-screen",
"minimum-system-version": "7.0",


+ 4
- 4
extras/Introjucer/Source/Project Saving/jucer_ProjectExport_XCode.h View File

@@ -40,8 +40,8 @@ class XCodeProjectExporter : public ProjectExporter
{
public:
//==============================================================================
static const char* getNameMac() { return "XCode (MacOSX)"; }
static const char* getNameiOS() { return "XCode (iOS)"; }
static const char* getNameMac() { return "Xcode (MacOSX)"; }
static const char* getNameiOS() { return "Xcode (iOS)"; }
static const char* getValueTreeTypeName (bool iOS) { return iOS ? "XCODE_IPHONE" : "XCODE_MAC"; }
//==============================================================================
@@ -1309,7 +1309,7 @@ private:
};
const ImageType types[] = { { "portrait", "iphone", "full-screen", "2x" },
{ "portrait", "iphone", "full-screen", "2x" },
{ "landscape", "iphone", "full-screen", "2x" },
{ "portrait", "ipad", "full-screen", "1x" },
{ "landscape", "ipad", "full-screen", "1x" },
{ "portrait", "ipad", "full-screen", "2x" },
@@ -1322,7 +1322,7 @@ private:
d->setProperty ("orientation", types[i].orientation);
d->setProperty ("idiom", types[i].idiom);
d->setProperty ("extent", types[i].extent);
d->setProperty ("minimum-system-version", "7.0");
d->setProperty ("minimum-system-version", "7.0");
d->setProperty ("scale", types[i].scale);
images.append (var (d));
}


Loading…
Cancel
Save