Questions tagged [ios8-today-widget]

Refers to the "Today" widget in the notifications center of iOS devices.

Refers to the "Today" widget in the notifications center of iOS devices.

232 questions
12
votes
2 answers

how to localize iOS 8 today extensions widget and also the widget name

I can't understand how I can localize today extensions, I want to create the Localize.strings file like a normal xcode project that for example have this string: .en "Apple" = "Apple" .it "Apple" = "Mela" and I also want to know how I can…
Piero
  • 9,173
  • 18
  • 90
  • 160
11
votes
5 answers

Custom font iOS in Today Widget always return nil

I was trying to add custom font to my today extension but UIFont always return nil. Steps: I added the font file to Today Widget target: I check if the font file was inside the Today Widget bundle: I init the font instance in the…
wj2061
  • 6,778
  • 3
  • 36
  • 62
11
votes
0 answers

Waking up iOS parent app from today widget

Is there a way to wake an iOS parent app and have the parent app actively run in background (but not open the app) in the today widget view?
Daniel Glaser
  • 271
  • 1
  • 5
11
votes
3 answers

Scheduling local notification from within a Today extension

I'm making an app that contains a Today Extension. The today extension displays a list of timers, and if the user selects one of the timers, I'd like to create and schedule a local notification for that timer. My problem is that scheduling of…
Alex
  • 5,009
  • 3
  • 39
  • 73
11
votes
4 answers

When i run app extension(Widget) in device.I got this error App installation failed

This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique.
SAS Sudalaiyandi
  • 237
  • 1
  • 3
  • 11
9
votes
2 answers

Is it possible to refresh a timer in a Today Widget?

I was wondering is it possible to update the text label of a timer in a today widget. I took a look around but nothing helped me.
Nicholas
  • 1,915
  • 31
  • 55
9
votes
6 answers

iOS 8 widget icon is missing for first time after installation

The widget icon in Today section is missing for first time after installation.After that the icon is showing properly.I am using 8.1.1 iPhone 6 device.
user4034301
9
votes
5 answers

iOS 8 Today widget does not appear when running the project

I have an app with 2 targets and added a today widget. When I run it it doesn't appear on the today notifications Edit/ in the "Do not include" section, where it normally appears the first time with my other apps. Any idea what could be going wrong?…
ildsarria
  • 281
  • 3
  • 10
8
votes
2 answers

XCUITest and Today Widget

I have an App with Today Widget. So I would like to perform some UI testing on it. I found a way to open Today/Notifications panel. It seems easy: let statusBar = XCUIApplication().statusBars.elementBoundByIndex(0) statusBar.swipeDown() But then I…
7
votes
2 answers

Check if URL can be opened from an iOS today widget

My problem is that I can't find out if a certain URL can be opened from an iOS widget. The method canOpenURL: is not available on today's widget because there is no UIApplication class. Moreover the method openURL: of NSExtensionContext returns YES…
andreacipriani
  • 2,519
  • 26
  • 23
7
votes
3 answers

"Unable to Load" message in Today's Widget

I'm in between with my widget development. As we have already placed our app with widget integration. But in now a days, I'm facing problem with today's widget in iOS. I've written a code for two cases. First time when widget is initially loading…
7
votes
1 answer

weird crash when launching app from Notification Center

I'm at my wits end, I'm getting a weird crash that only happens when the app is launched from Notification Center. Either tapping on a local notification (in the notification side) or a call to extensionContext:openURL:completionHandler (from my…
Mike
  • 1,313
  • 14
  • 17
6
votes
1 answer

Send message from iOS Today Widget to app

I have an alarm app, recently powered it with a today widget extension. I need to turn on and off alarm from today widget, but the code to "turn on" and "turn off" is within app, not widget. How can I send a message from today widget to main app?
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
6
votes
2 answers

iOS 9 Today Widget not calling viewDidLoad

The today widget is drawn correctly when it is added to the today view. But if you user comes back to it later, the viewDidLoad function is not called and it is showing stale data. Should viewDidLoad be called everytime? Is there an iOS 9 / Xcode…
Jason Hocker
  • 6,879
  • 9
  • 46
  • 79
6
votes
2 answers

Open main app via today extension

I implemented added a today widget into my app. The today extension includes an UITableView. Now I'd like to open the app if a cell of the UITableView has been pressed. Does someone of you know how to do this?
paro
  • 217
  • 3
  • 10
1
2
3
15 16