Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-14698

iOS7: Icon architecture - need support for high resolution (152x152) and standard resolution (76x76) app icons

    Details

      Description

      Description:

      iOS 7 changes the way icon files are handled. With iOS 6, the titanium build process would look for the main icon (selected via studio) and then look for the naming-convention compliant other icon files and generate the appropriate plist entries.

      With iOS 7, files need not be named in any particular way (perhaps the naming convention was not needed earlier but remained in our builds), and the OS chooses the most appropriate icon based on size.

      The problem is that since our build process looks for the appropriately named files (appicon.png, appicon@2x.png, appicon-small.png, etc...) starting with the selected icon in studio, other icon files are not included. For projects supporting iOS 6 and iOS 7, it's easy enough to create the numerous icons required, but no way to include them in the plist unless it's done manually. If selecting "appicon.png" (57 x 57 non-retina iPhone) in such a project with the 18 icons required for a universal app support iOS 6 & 7 (some are required, some optional, and some recommended) when running on iOS 6, all will be as expected. Running this on iOS 7 iPhone 5 will show you the nearest to the 120 x 120 icon, which in this case is the iOS 6 retina iPad icon at 114 x 114. This is because the new icons will not be included in the info.plist.

      Selecting one of the new iOS 7-sized icons will only include that single icon in the plist, since the other files do not have the expected naming convention.

      We must find a way to support generating an info.plist that includes the expected icons, especially in cases where iOS 6 and 7 are to be supported.

      Steps to reproduce:

      1) Create a project including the 18 icons for primary support of iOS 6 and 7
      A combination of fruit and other icons are attached. Fruit are iOS 6-sized, and the others are iOS 7-sized.
      2) Select an icon in your tiapp.xml editor
      3) run on iPhone retina, iPad retina, iPad non-retina (Non-retina iPhones and iPod are not supported in iOS 7 as far as I can tell.)

      Result:

      If selecting an iOS 7-sized Icon, only that icon will appear in the plist and subsequently on device.
      If selecting an iOS 6-sized icon, that file plus any icons following the iOS naming convention will appear in the plist, and whatever is appropriate for the device will be shown for settings, search, and home screen icon.

      Expected Result:

      iOS 7 icons all copied over and these icons shown in appropriate locations

      Notes:

      Check here for Icon info (log in to developer account)
      https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/MobileHIG/MobileHIG.pdf

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                srahim Sabil Rahim
                Reporter:
                emerriman Eric Merriman
                Reviewer:
                Vishal Duggal (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code