Questions tagged [ios10-today-widget]

49 questions
30
votes
2 answers

iOS 10: How to debug a Today Widget - "Unable to load" message

It seems to me that whenever a Today Widget crashes for any reason it displays the "Unable to load" message (as on the attached screen). When this happens nothing kicks off in the debugger, nothing appears on the Console. It seems to me like…
adamsfamily
  • 1,746
  • 19
  • 37
21
votes
3 answers

Today Widget Extension Height - iOS10

The height for the Today's widget view mode cannot be set for compact Mode. No matter whatever value I set. It sets the height of the widget to a default value. The expanded mode works perfect and the value is properly set and reflected in the…
Taimur Ajmal
  • 2,778
  • 6
  • 39
  • 57
17
votes
4 answers

Today Extension compact mode height in iOS 10

I am struggling to change the height of my iOS 10 widget in compact mode. All I have is an empty widget, no views inside it. Still, no matter what I set for the compact height, it seems to ignore it. Here is my code: - (void)viewDidLoad { …
Balázs Vincze
  • 3,550
  • 5
  • 29
  • 60
10
votes
1 answer

Why does Today Widget show 'Unable to load' on iOS 14 and cannot be debugged?

When running my iOS 12+ App on iOS 14 the (long existing) Today Widget does not work any more. Instead of the widget content only Unable to load is shown. The very same code runs without any problem on iOS 13 and below. Note: This is NOT about the…
Andrei Herford
  • 17,570
  • 19
  • 91
  • 225
9
votes
2 answers

iOS 10 Today View Widget: How to tell if it's *actually* on screen / visible?

I have a widget which retrieves updates from a server at regular intervals throughout the day, but want it to immediately update again if the user actually looks at it. This always worked fine in iOS 8/9... viewWillAppear fired specifically when,…
DanM
  • 7,037
  • 11
  • 51
  • 86
8
votes
2 answers

Today's extension iOS10 Show More/Less

Had updated the today's extension for iOS 10 implement the delegate method: -(void)widgetActiveDisplayModeDidChange:(NCWidgetDisplayMode)activeDisplayMode withMaximumSize:(CGSize)maxSize { if (activeDisplayMode == NCWidgetDisplayModeCompact){ …
Constantin Saulenco
  • 2,353
  • 1
  • 22
  • 44
7
votes
1 answer

Today widget in iOS 10 is not expanding

I'm trying to solve an issue with my today widget. It's not expanding on iOS10 after pressing "Show more" button. It's size keeps the same all the time. Here is the code for TodayViewController.swift import UIKit import NotificationCenter class…
Martin Pilch
  • 3,245
  • 3
  • 38
  • 61
7
votes
2 answers

iOS today extension causes Program ended with exit code: 0

I'm using Xcode 8.0, Swift 3. I'm making today extension showing text and image, but frequently cause this message and today extension does not work. rarely work. Program ended with exit code: 0 I saved data in realm, and today extension using the…
Dev.MJ
  • 95
  • 8
5
votes
1 answer

Change NCWidgetDisplayMode programmatically in IOS10 Widget

I am looking to programmatically change the height of a today extension. As the iOS10 SDSK introduced NCWidgetDisplayMode I am trying to use it to programmatically change the height of my preferredContentSize. I have implemented…
anto0522
  • 662
  • 9
  • 31
5
votes
1 answer

iOS10 Today Widget - how to determine if iPhone is locked or not?

I'm adding a widget to my existing iOS App. Last week iOS10 was released and added some new features to App Extensions and so to Today Widgets. There are a few widgets from Apple, e.g. the "Activity widget" if you are using an Apple Watch to display…
beeef
  • 2,664
  • 4
  • 17
  • 27
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…
4
votes
0 answers

How to display upload binary on itunes connect using xcode 8.1

I'm trying to upload a new version of my app to the apple store, but itunes connect looks to be bugged. I already uploaded the binary 10 times with success, and so far, it didn't show up on the "Build" section. I'm using Xcode 8.1 and …
ayushi
  • 101
  • 1
  • 11
3
votes
1 answer

Load data from Core Data to Today Widget

I have iOS app written in Swift that works with Core Data. No I want to get last record that exists in Core Data and present it in Today Widget Extension. I added new widget target to my project In my coredata.xcdatamodeld I also checked target…
moonvader
  • 19,761
  • 18
  • 67
  • 116
3
votes
2 answers

Today Extension "Unable to Load" on limited devices

I have an iOS application with a Today Extension. We're in testing (TestFlight) right now, and have tested on roughly ten devices. The associated Widget displays fine on all but one of these devices. On the one device the Widget displays the…
Mitch Cohen
  • 1,551
  • 3
  • 15
  • 29
2
votes
4 answers

Not able to read from shared containor in app group ios

I have created an app group group.com.example.FoodTracker-qg, In the main view controller of the app I am downloading an image and storing inside the shared container but I am unable to use the same image in image view. I am getting the following…
rahulk9
  • 795
  • 3
  • 10
  • 20
1
2 3 4