jimbobuk
jimbobuk

Reputation: 1221

How to rename an iOS 8 Today Widget?

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.

Anyone got any ideas?

Upvotes: 18

Views: 5430

Answers (3)

JAL
JAL

Reputation: 42459

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.

1

2

Restart the device to see the updated widget name.

Upvotes: 35

Filippo
Filippo

Reputation: 1046

Just restart the device to display the updated name!

Upvotes: 7

jimbobuk
jimbobuk

Reputation: 1221

The answer from JAL is correct, but as my comment mentions under his answer. Don't expect a widget's name to update once it's been added to iOS. You must remove and reinstall your app to get any widget name updates to apply. I presume it's the same thing for app names too. Cheers

Upvotes: 11

Related Questions