【问题标题】:AppIcons not showing on deviceAppIcons 未显示在设备上
【发布时间】:2014-05-30 14:24:47
【问题描述】:

在我的项目的 images.xcassets 文件夹中(从一个空的 ios 应用程序开始),我添加了一个新的 AppIconthingamajig,然后为所有应用程序大小添加了图标。当我在我的 iPhone(不是模拟器)上启动该应用程序几次时,它没有显示它应该具有的应用程序图标。我确定 xcassets 文件夹工作正常——例如,我从我的应用程序访问的该文件夹中有其他图像(例如,标签栏图标),所以我想知道是否有什么特别的我从空应用程序启动时必须做的事情才能使 AppIcon 模板工作。

只是为了让您确定我已将图标添加到 AppIcons...

【问题讨论】:

  • 我看到您有 26 个构建警告。看看他们中是否有人抱怨图像尺寸不正确。注意尝试始终将这些警告视为错误并尝试全部修复。添加构建警告的屏幕截图以排除它们
  • @SamBudda 问题是目标属性中没有选择应用图标。

标签: ios objective-c


【解决方案1】:
  BrainLikeADullPencil today i wanted to set APP ICON,LAUNCH SCREEN and SPOTLIGHT FOR MY PROJECT.I did this very easily through the following things

        1.Click your PROJECT(It is in Navigator Area-left side)
        2.If you click that you can see PROJECT and TARGET in the Editor Area(It is in the middle exactly between Navigator Area(left side) and UTILITY Area(right side))
        3.You should click your ProjectName in TARGETS
        4.Then you can see the GENERAL,CAPABILITIES,INFO,BUILD SETTINGS,BUILD PHASES,BUILD RULES.
        5.Click GENERAL whare you can get IDENTITY,DEPLOY INFO,APP ICONS,LAUNCH IMAGES and LINKED FRAMEWORKS AND LIBRARIES

        6.Then choose App Icon where you can see the options(Iphone retina,Iphone normal) for icons(KIND,DIMENSIONS,RESOURCE).
        7.Click right side icon of small size folder.If you click that DROP DOWN BOX appears.
        8.In DROP DOWN BOX "select an iphone non retina and prior app icon" appears.
          Below inside the box your project app icons showing image that what u have copied and have in  a particular folder if you have icons into GROUP FOLDER in your project bundle.
        9.If you have not had that icons, choose ADD OTHER below the drop down box and once you click it asks the icons where you have there(in which part-whether it is documents,desktop or anything)fix that size or edit that icon in pariticular size(what you want) or according to the iphone retina or ipad retina.

       10.Finally select the size of icon what you want and it automatically(size-29,57,114,140...) appears in the RESOURCE.


     IF YOU CAN FOLLOW ABOVE THESE THINGS YOU CAN EASILY FIX IT.TRY THIS ONE.WHEN YOU RUN YOUR PROJECT IN DEVICE IT SHOWS YOUR APP ICON AUTOMATICALLY(1024*1024).                   

【讨论】:

    【解决方案2】:

    确保您在目标属性中拥有正确的应用图标来源。

    【讨论】:

      猜你喜欢
      • 2016-08-06
      • 1970-01-01
      • 2021-05-24
      • 2018-05-27
      • 2021-09-18
      • 2014-04-17
      • 1970-01-01
      • 1970-01-01
      • 2014-01-17
      相关资源
      最近更新 更多