应用程序图标与 MonoTouch 中的 57 和 114 字段图标不匹配!

发布于 2024-09-30 23:04:02 字数 593 浏览 1 评论 0原文

我在 MonoTouch 中分配 iPhone 应用程序图标时遇到一些问题 -

最初我只有一个 114x114 图标,因此将其分配给需要 114 图像的 iPhone4 字段(在图标选项卡中),但它没有通过 - 两者都没有模拟器或手机本身。然后,当我将图标重命名为 icon.png 并将其放置在应用程序的根目录中时,由于某种原因,它显示正常...

现在我还创建了一个 57x57 图标,并在“图标”选项卡中分配给 iPhone 字段后结果出乎意料……

看来MonoTouch把图标颠倒了!!我已经从根文件夹中取出了 icon.png,并且 57x57 显示在我的 iPhone4 上。但是,如果我在 57x57 字段中选择 114x114 图标,反之亦然,选择 57x57 图标(将其放在需要 114x114 图标的字段中) - 你猜对了 - 这一切似乎都有效!很奇怪!!

我的水晶锐利图标显示在我的 iPhone4 上(即使它现在在 57px 字段中指定)!如果我随后将其反转回正确的方式“应将其提供给 MonoTouch”,我会在 iPhone4(即 57x57 版本)上看到一个更模糊的图标。

还有其他人在使用这些图标时遇到过困难吗?我做错了什么?

非常感谢任何帮助!

I am having some issues assigning the iPhone app icons in MonoTouch -

Initially I only had an 114x114 icon and so assigned it to the iPhone4 field (in the Icon's tab) that expects the 114 image but it didn't come through - neither on the simulator nor the phone itself. Then when I renamed the icon to icon.png and placed it in the root of the app it comes out ok for some reason...

Now I also created a 57x57 icon and once assigned to the iPhone field in the 'Icons' tab the result is unexpected....

It seems like MonoTouch reverses the icons!! I have taken the icon.png out of the root folder and the 57x57 is shown on my iPhone4. However, if I select the 114x114 icon into the 57x57 field and vice versa for my 57x57 icon (place it in the field that expects the 114x114 icon) - you guessed it - it all seems to work! Very strange!!

My crystal sharp icon is displayed on my iPhone4 (even though it is now specified in the 57px field)! If I then reverse it back to the proper way 'it should be given to MonoTouch' I get a more fuzzy icon on my iPhone4 (ie the 57x57 version).

Has anyone else had difficulties with these icons? What am I doing wrong?

Any help very much appreciated!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

海的爱人是光 2024-10-07 23:04:02

MonoTouch 项目属性编辑器可以帮助管理图标,但您确实无法绕过 iOS 所期望的约定。我不确定您在项目中具体做了什么,但听起来您没有遵循图标指南和约定。

我建议您确保遵循 iOS 开发人员指南中为图标制定的准则。这是讨论尺寸的指南的链接,每种尺寸的用途是什么,最重要的是,图标应该命名什么。这样做,我想您会发现您的图标问题将得到解决。

The MonoTouch project property editors are there help manage the icons but you really can't skirt the conventions that iOS expects. I am not sure exactly what you're doing in your project but it sounds like you aren't following the icon guidelines and conventions.

I'd recommend making sure you're following the guidelines established for icons set out in the iOS developers guide. Here is a link to the guide which discusses the sizes, what each size is used for and, most importantly, what the icons should be named. Do this and I think you'll find that your icon issues will be resolved.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文