如何重命名iOS 8 Today Widget? [英] How to rename an iOS 8 Today Widget?

查看:100
本文介绍了如何重命名iOS 8 Today Widget?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始尝试在我的应用程序中添加iOS 8 Today Widget,到目前为止它还可以,但是我按照原始模板进行了创建,并使用TodayWidget作为其名称创建了我的小部件。在我的应用程序的Xcode文件的上下文中,目标/产品名称是好的。但遗憾的是,这也是通知中心内显示的名称,位于我的小部件上方。

I've just started experimenting with adding an iOS 8 Today Widget to my app, it's going ok so far but I followed the original template and got my widget created with TodayWidget as its name. In the context of my app's files in Xcode that target/product name is fine. But sadly this is the name that also displays within notification centre, above my widget.

我尝试在我的项目中跟踪各种名称,但这些名称与显示内容相符但是如此我还没有找到一个让我更新显示的名称。

I've tried tracing through various names in my project that match what's being displayed but so far I've yet to find one that lets me update the name displayed.

有人有任何想法吗?

推荐答案

在项目 - >目标下选择您的小部件。在信息 - > iOS目标属性下,将捆绑显示名称属性更改为您想要的新名称。

Select your widget under Project -> Targets. Under Info -> iOS Target Properties, change the Bundle display name attribute to whatever you want your new name to be.

重启设备以查看更新的小部件名称。

Restart the device to see the updated widget name.

这篇关于如何重命名iOS 8 Today Widget?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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