小编Bas*_*man的帖子

ic_launcher、ic_launcher_foreground 和 ic_launcher_round 之间的区别

我正在使用 Android Studio (v 3.4.1) 创建自适应启动器图标。我对它生成的 PNG 文件感到困惑。

我使用 Asset Studio 创建启动器图标(自适应和传统)。这个过程很简单。但我质疑是否需要某些输出文件。

输出包括以下内容:

\release\res\mipmap-anydpi-v26

  • ic_launcher.xml
  • ic_launcher_round.xml

\release\res\mipmap-nndpi(对于每个像素密度)

  • ic_launcher.png
  • ic_launcher_foreground.png
  • ic_launcher_round.png

\release\res\values\ic_launcher_background.xml

我认为每个 \mipmap-nndpi 文件夹只需要 [foreground & round].png 文件。当我手动创建图标时,我没有创建 ic_launcher.png 并且没有看到区别。

最低 Target SDK 28+ 是否需要 ic_launcher.png?

icons android-studio

5
推荐指数
1
解决办法
2296
查看次数

定期启动/唤醒iOS应用程序

我有一个在后台运行的应用程序.我想定期将其唤醒:在预设的时间或每n小时.必须在没有用户干预的情况下完成.

我相信,由于应用程序在后台运行,NSTimer将无法正常工作.我如何定期"唤醒"我的应用程序?

objective-c nstimer ios7

3
推荐指数
1
解决办法
2774
查看次数

标签 统计

android-studio ×1

icons ×1

ios7 ×1

nstimer ×1

objective-c ×1