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

Core data and Today Widget

Hello I have an application that calculates the usage of your internet connection (read data transfer, roaming data, wifi...). I'm trying to update it with a Widget. The first part of the app, reading the values from the database and showing them on…
0
votes
0 answers

How to set today-extension height using UITableViewController?

I am fighting with my widget height for about a week and I still cannot get it working. I use a tableView as a primary view of the extension with autolayout. The app shows current balance of a cellphone. And depending on a plan, I load different…
Jarod
  • 485
  • 5
  • 16
0
votes
1 answer

iOS 8 Today View Extension with UITableViewController not showing footer (UIView)

After wrestling with Core Data + Extensions (sharing data) all day, I finally got it working, data is shared fine. Now, in my UITableViewController (inside my Today Extension), I'd like to have a constant footer view with a button to open the…
0
votes
3 answers

TodayWidget viewDidLoad not running

I have recently added a Widget to my application, or have tried to. When I run it the widget shows in the notification center but it appears collapsed. I have confirmed the viewDidLoad is not being called by using NSLog. Any ideas why its not…
bolencki13
  • 89
  • 1
  • 8
0
votes
1 answer

Todayview openurl - calls didFinishLaunchingWithOptions multiple times

i am currently playing arround with an ios8 todayview extension. i call [self.extensionContext openURL:url completionHandler:nil]; to open the app containing the extension. in some cases: about 1 out of 10 launches (app closed) - the -…
Helmut Januschka
  • 1,578
  • 3
  • 16
  • 34
0
votes
1 answer

Putting today notification on certain days

I am not sure if there is a way to show today widgets only on certain days. I have checked in the developer libraries and could not find any method or function to refer to in this situation. It would be great if there was some API or Framework that…
Maanit
  • 316
  • 2
  • 4
  • 14
0
votes
1 answer

How can I update my iOS Today widget from the containing app?

I'm including a Today extension with the next release of my iOS app. The content of the widget updates only when the user makes a specific change to the database managed by the containing app. Is there a way to send some kind of signal from the…
Bill
  • 44,502
  • 24
  • 122
  • 213
0
votes
1 answer

Force layout to occur to guarantee the width won't change after layout finishes

I am programmatically creating a UICollectionView in viewDidLoad and then setting auto layout constraints on it. I need to know exactly what the collection view's width will be after it is displayed to the user, but I need that information in…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
0
votes
1 answer

Properly align elements in Notification Center widget using Auto Layout

I'm having difficulties obtaining the proper alignment of elements in my Notification Center extension. I would like to align the elements to respect the default margins applied - it should be left aligned with the first character in the app name,…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
0
votes
1 answer

iOS Today Widget - Determine if active

Can the container app determine if embedded today widget is active or not ? (active = the user add the widget in notification center) There is a way to force activate the embedded today widget ? When user first install the app or update it, can the…
Tsahi Deri
  • 571
  • 1
  • 3
  • 14
0
votes
1 answer

How to delete the today extension in iOS8

I just delete the files(just storyboard, viewController) of a today extension, then I create a new one. But, when I ran the app, there will be two today extensions, one is the one I deleted. Please help me to delete the first one.!
WatashiJ
  • 722
  • 6
  • 19
0
votes
1 answer

Setting an image from a file in Today Widget

I'm having a strange issue where I cannot set a button image (or a UIImageView.image) programmatically. I can set the image in the storyboard, but if I try to change it, the app freezes up. Example. I have copied the image into the folder and can…
user3344717
  • 161
  • 3
  • 5
0
votes
1 answer

It is possible to delay the execution of a function on Today Extensions (iOS)

I want to delay the execution of a method inside a framework that gets loaded from within a Today Extension. I have tried this: A function that receives the task and the time to wait func playCPUWithDelay(delayInMilliSeconds:Int64,scheduledTask:…
Hugo Alonso
  • 6,684
  • 2
  • 34
  • 65
0
votes
2 answers

Issue in Widgets in landscape mode

I have this irritating issue with widgets that it trims the content of my view in the landscape mode. I have put the content size statically but it doesn't work. Does Apple restrict the widget to have a specific height in landscape? Apple's…
Ashraf Tawfeeq
  • 3,036
  • 1
  • 20
  • 34
0
votes
1 answer

iOS Today widget auto height

I'm loading text data from xml to my today widget label so height can't be static. Since font size is 17px I counted that there are max 30 characters in one line, and by that I tried to set height like this int number_of_characters = [self.string…
user76541
  • 3
  • 1