SKStoreReviewController 未在开发中显示应用程序图标 [英] SKStoreReviewController not showing app icon in development

查看:32
本文介绍了SKStoreReviewController 未在开发中显示应用程序图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 SKStoreReviewController 来显示内置的 AppStore 评级 UI.当我在本地测试时,应用程序图标没有显示在弹出窗口中,而是显示了 Xcode 的默认图标(对于没有图标的项目).但是,该应用已正确配置并带有一个图标,该图标显示在主屏幕上.

I'm using SKStoreReviewController to show the built-in AppStore rating UI. When I test this locally, the app icon is not shown on the popup, instead Xcode's default icon (for projects without an icon) is shown. However, the app is configured correctly with an icon, which is displayed on the home screen.

这是预期的行为还是即使在开发模式下对话框也应该包含图标?根据 docs,该对话框未显示在 TestFlight 版本中,所以除非我发布该功能,否则我无法对此进行测试,而且我不想向我的用户显示这个损坏的"对话框.

Is this expected behavior or should the dialog contain the icon even in development mode? According to the docs, the dialog is not shown in TestFlight builds, so I cannot test this unless I release the feature, and I'd prefer not show this "broken" dialog to my users.

推荐答案

万一其他人遇到此问题:在已发布的版本中,图标已正确显示.我认为这个问题与 Xcode 在开发模式下以某种方式缓存资源有关.

In case anyone else stumbles across this problem: in the released version the icon was correctly shown. I think the issue was related to Xcode caching resources in dev mode somehow.

这篇关于SKStoreReviewController 未在开发中显示应用程序图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆