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
6
votes
1 answer

Today Widget Not Launching On Device(works on Simulator)

Hi I have very strange problem. My Today Widget works perfectly fine in Simulator, however when I choose to run it on real device and select 'Today' application xCode just says 'Running Today on XXX's iPhone' but on that device there is no widget. I…
hris.to
  • 6,235
  • 3
  • 46
  • 55
6
votes
1 answer

xctool build with today extension

we have an app integrated with today extension, we use xctool and Jenkins to do continuous build and in-house distribution. In command line, before we use xctool -workspace our_workspace.xcworkspace -scheme app_schme -xcconfig path_to_xcconfig…
machackx
  • 167
  • 1
  • 9
6
votes
2 answers

Today Widget has no content on iOS 8 device

I am trying to create a Today Extension (aka Widget) for my existing iOS 7+ app. In iOS Simulator everything works fine (most of the time) but on my devices the widget is empty - only the header/name is shown but no content. I found several threads…
Andrei Herford
  • 17,570
  • 19
  • 91
  • 225
6
votes
3 answers

UITableView in a Today Extension not receiving row taps

I have a iOS 8 app with a Today Extension. The extension has a UITableView in it and it is rendering correctly. However, didSelectRowAtIndexPath doesn't seem to get called reliably. I am guessing this is because Notification Center is a UIScrollView…
lehn0058
  • 19,977
  • 15
  • 69
  • 109
6
votes
4 answers

iOS Today Extension Table View Rows only detects taps on a label

I am having the weirdest of problems with a today widget on iOS. I have a simple widget with a table view like this: https://grab.edr.io/2e557aa43a34b7460b1eac44cbcaf596.png The thing is, it only responds to touches (the rows only get highlighted)…
EduAlm
  • 813
  • 3
  • 11
  • 27
6
votes
2 answers

UISlider in Today View Extension (Widget)

I'm having troubles using a UISlider in an iOS8 Today Extension. When you start sliding the slider to the right, everything works fine. You can keep on sliding from left to right and the other way around. However, if you start sliding to the left,…
fguchelaar
  • 4,779
  • 23
  • 36
6
votes
4 answers

How to hide the iOS 8 Today Widget when there is nothing to display?

I'm using the today widget for iOS8 to display information relevant to the current day. The problem is I don't want to display the widget/section at all if there are no relevant messages to show. I know it must be possible as the BA app does it (it…
user843337
5
votes
0 answers

iOS Today Widget Dropping BT Connection

I'm trying to use my widget to perform some bluetooth actions as a Central Manager but when I write a value to a characteristic, the connection drops after some seconds. If I never write it the connection stays up. Another odd thing is that the…
marcelosalloum
  • 3,481
  • 4
  • 39
  • 63
5
votes
2 answers

How to update today widget in swift every x seconds

I try to update the content of my today widget extension every x seconds since I try to realize something like a diashow. Therefor I have stored all required data using shared defaults. Loading data from the storage works perfect but the…
Florian Chrometz
  • 445
  • 2
  • 9
  • 22
5
votes
1 answer

Use AppDelegate in today extension

I'm trying to build an today extension for my app. I'm using CoreData and NSFetchedResultsController and get the following error: Use of undeclared type 'AppDelegate' In this line of code: var appDel: AppDelegate =…
horst
  • 575
  • 1
  • 6
  • 15
5
votes
2 answers

Can iOS Today Extension read URL Schemes from app's Info.plist

We have our app target, and in that Info.plist, we defined URL Schemes that can be used to open the app with a URL. Now we are adding a today extension. We will want to have a table view who will open that URL from the extension. We see how that…
Jason Hocker
  • 6,879
  • 9
  • 46
  • 79
5
votes
3 answers

Finding out if the device is locked, from a Notification Widget

I'd like to know if the device is locked when I'm loading my Notification/Today widget, so I can show the widget appropriately. (it's financial, and we don't want to show balances on a locked phone) On devices with TouchID, I can just try to access…
Nic Wise
  • 8,061
  • 2
  • 31
  • 30
5
votes
0 answers

iOS 8 today widget snapshot

I'm developing a today widget displaying some personal information about the user using it. According to Apple documentation (here) the system captures snapshots of today widget's view. To help your widget look up to date, the system occasionally…
Tsahi Deri
  • 571
  • 1
  • 3
  • 14
5
votes
2 answers

Refreshing a Today extension view

I created a today extension for my iOS App. My app is fetching new datas in background and saving it into a shared database in the app group. How I can make (if it's possible) the extension to update it's view when background fetches of the main app…
ThibaultV
  • 529
  • 1
  • 5
  • 24
4
votes
1 answer

Today Widget uses more memory each time it refreshes, then eventually crashes

I’m working on a Today Widget, and running into memory issues. When I run the widget and monitor memory usage Xcode, the widget uses about 15MB when it first starts up. Then, when I swipe away from the widget screen and back, it goes up to about…
1 2
3
15 16