10

我目前正在尝试更改我的应用程序的图标,但是当我更改应用程序的图标时,通知图标和设置图标。我提供图像的方式有问题吗?

UIApplication.shared.setAlternateIconName("Black")

运行上面的行时出现此错误。

( reHydrate[21706:7792443] [default] +[LSApplicationProxy applicationProxyFor*] is not a supported method for getting the LSApplicationProxy for the current process, use +[LSBundleProxy bundleProxyForCurrentProcess] instead.)

这可能是因为我没有提供所有必要的图像吗?这是我添加的图像示例:

-黑色@1x.png 尺寸 40x40

-黑色@2x.png 尺寸 80x80

-黑色@3x.png 尺寸 120x120

4

0 回答 0