是什么原因导致iOS 11 iPad最近的应用停靠图标变灰? [英] What causes iOS 11 iPad recent apps dock icon to be grayed out?

查看:197
本文介绍了是什么原因导致iOS 11 iPad最近的应用停靠图标变灰?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个我已经继承维护的应用程序。

I have an app that I have "inherited" to maintain.

自iOS 11更新以来,在两个独立的iPad(iPad Air和iPad 5th gen)上,我有个问题。这两款设备都运行iOS 11.0.2。

Since the iOS 11 update, on two separate iPads (iPad Air and iPad 5th gen), I have a problem. Both devices are running iOS 11.0.2.

首次安装并启动应用程序时,应用程序图标显示在该应用程序的最近的应用程序部分中停靠,但图标显示为灰色且无法点按(可以拖动,但长按不会执行任何操作)。对于任何后续应用程序启动,停靠图标保持不变,除非发生导致应用程序图标离开最近的应用程序部分(打开一些其他应用程序或将图标拖到停靠栏左侧)的任何进程,然后图标不再灰显,变得可以点亮。它看起来与点击图标一样,但它永久处于按下状态(它不会触发长按事件)。

When the app is installed and launched for the first time, the app icon shows up in the "Recent apps" section of the dock, but the icon is grayed out and cannot be tapped (it can be dragged, but long-pressing does nothing). For any subsequent app launches the dock icon remains unchanged, unless any process occurs that causes the app icon to go away from the "Recent apps" section (opening a few other apps or dragging the icon to the left side of the dock) then the icon is no longer grayed out and it becomes tappable. It looks the same as if the icon has been tapped, but it is permanently in that pressed state (it does not trigger a long press event).

问题发生在该应用程序是从App Store,XCode(调试会话)或Crashlytics安装的。它在卸载应用程序并重新安装后重新出现,即使在之前的安装过程中停靠图标已固定。

The problem occurs when the app is installed from the App Store, XCode (Debug session) or Crashlytics. It re-occurs after uninstalling the app and re-installing, even if the dock icon was "fixed" during the previous installation.

主屏幕应用程序图标没问题(不是灰色的,可以点击)。

The home screen app icon is fine (not gray and can be tapped).

可能是问题的原因是什么?或者它是iOS 11的错误?

What could be the cause of the problem? Or is it an iOS 11 bug?

编辑1:iOS11.0模拟器中不会出现此问题。

Edit 1: This problem does not occur in the iOS11.0 simulator.

编辑2:将iPad(第5代)更新到iOS 11.0.3无法解决问题。

Edit 2: Updating the iPad (5th gen) to iOS 11.0.3 did not fix the issue.

编辑3:重新启动设备(在卸载和卸载之间)重新安装,或图标为灰色时)修复图标。这让我相信在删除/卸载应用程序和此缓存之后可能还有一些文件遗留或者仍然发生了某些事情,或者只有在重新启动时才清除。删除应用程序后等待10分钟无效。

Edit 3: Rebooting the device (either between uninstall and reinstall, or while the icon is gray) fixes the icon. This leads me to believe that there are possibly some files left over or something is still happening after deleting/uninstalling the app and this cache or whatever is only cleared on reboot. Waiting 10 minutes after deleting the app has no effect.

编辑4:正如Marko在评论中指出的那样,灰色图标确实可以切换回应用程序将其拖动到屏幕上,但不是在点击它时。

Edit 4: As pointed out by Marko in the comments, "The greyed out icon does work to switch back to the app when dragging it to the screen, but not when tapping on it."

这似乎与xCode有关,并且可能有一个孤立的应用程序图标。我发现如果我安装 - 卸载 - 重新安装应用程序的App Store版本它没有这个问题。从xCode 或Crashlytics / Testflight 安装(调试)时,会出现此问题 only 。如果安装了xCode版本 - 那么App Store版本也会受到影响。

This seems to be related to xCode, and possibly having an orphaned app icon. I discovered that if I install-uninstall-reinstall the App Store version of the app it does not have this issue. This issue only occurs when installing (debugging) from xCode or Crashlytics/Testflight. If the xCode version was installed-uninstalled then the App Store version is also affected.

编辑5:我注意到如果图标不是灰色而我删除了(调试版本的应用程序,就在图标从最近的应用程序停靠处消失之前,它变为灰色然后被删除。

Edit 5: I noticed that if the icon is not gray and I delete the (debug version of the) app, just before the icon disappears from the recent apps dock it turns gray and then is removed.

更新:我已经在App Store中复制了该错误我的应用程序的版本,但我也能够使用Google Play音乐应用程序复制错误。因此我认为这不仅仅是我的应用程序(以及其他一些开发人员)的问题,但它似乎是一个iOS 11错误。我将回答我自己的问题,这是一个iOS 11错误。

Update: I have replicated the bug with the App Store version of my app, but I have also been able to replicate the error with the Google Play Music app. As such I think that this is not a problem only with my app (and a few other devs), but it appears to be an iOS 11 bug. I am going to answer my own question that this is an iOS 11 bug.

推荐答案

经过多次测试后,我得出结论,这是一个iOS11错误。我能够使用我自己的应用程序以及App Store(Google Play音乐)上的另一个应用程序复制该错误。

After some more testing, I have come to the conclusion that this is an iOS11 bug. I was able to replicate the bug with my own app and another app that is live on the App Store (Google Play Music).

卸载Dock中Recent Apps部分中的应用时,似乎会发生这种情况。重新安装并打开应用程序后,图标为灰色。

This appears to happen when uninstalling an app that is present in the "Recent Apps" section of the dock. Upon reinstallation and opening the app, the icon is grey.

这篇关于是什么原因导致iOS 11 iPad最近的应用停靠图标变灰?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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