0

我有一个今天的小部件(我已经成功地针对特定目标进行了本地化),但它只显示了我拥有的一个构建目标,即应用程序的主要版本。如何将其设置为可用于同一项目中的其他(/全部)目标?

提前10倍...

4

1 回答 1

2

Your today target needs to start with the same bundle id as the containing target.

assuming your apps are com.Mackstein.target1 and com.Mackstein.target2

then you will need two today widgets with bundle ids something like:

com.Mackstein.target1.today1 and com.Mackstein.target2.today2

the easiest way to achieve this is just to duplicate the existing today1 widget target, tweak the bundle id, and then include the new today2 target in the target2

it is annoying, but I haven't found a better solution.

于 2015-04-08T09:33:24.827 回答