Questions tagged [ios9-today-widget]

Refers to the "Today" widget in the notifications center of iOS 9 devices, made in the same way as iOS 8 Today Widgets but for the latest version of iOS.

16 questions
9
votes
2 answers

Today Widget Not Showing on Device

This problem is very strange, my Today widget work smoothly in Simulator but in my device (iPhone 5) is only showing the header of the Widget with the icon and the title. I have read those questions but didn't solve my problem: Today Widget Not…
yannisalexiou
  • 605
  • 12
  • 25
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
1 answer

Dynamically change title of Today Widget?

Is it possible to dynamically change the title of the Today Widget? I'd like to add the users current location next to the app name of the widget title, so it will change constantly per user for all users. Is this possible?
TruMan1
  • 33,665
  • 59
  • 184
  • 335
2
votes
0 answers

iOS: Click on Button in Today Widget does not call action

I have three files: SummaryView.xib -> containing the outline of my view SummaryView.swift -> controller for the view above with outlets defined for the subviews (such as the button discussed in this question) TodayViewController.swift ->…
AntonSack
  • 1,021
  • 2
  • 25
  • 47
2
votes
3 answers

How to add today view extension for a Cordova app for iOS9? [Swift]

I followed this tutorial for creating a today view extension. It works for a native Xcode 7.3 iOS 9 based app but when I try to follow the same steps for Cordova app. I get build…
Akshay Shinde
  • 35
  • 1
  • 7
2
votes
1 answer

TodayExtension's ViewWillAppear not called after scrolling to the top

I use tableview to display widget content, and everything just works well except I scroll the TodayExtension to the bottom and scroll back to the top (ViewWillDisappear called) and as I try to scroll down, the viewWillAppear will never be called,…
2
votes
0 answers

Problems synchronizing information between Today Widget, iPhone app and Apple Watch

I have an app that can record durations which a user has spent on different projects. The goal is that the user can start a stopwatch for a project from The main iOS app running on the iPhone The Today Widget The Apple Watch I have encountered…
John
  • 8,468
  • 5
  • 36
  • 61
1
vote
1 answer

Swift: Today Widget with animation

I'd like to write a Today Widget Extension with an UIImageView which display an animation. Here are my code. override func viewDidLoad() { super.viewDidLoad() layoutComponents() imageView.startAnimating() } func…
1
vote
1 answer

Swift TableView custom cell data disappears after reloading table in Today widget

I have created a today extension containing tableView with custom cells and populated this table with data from the server. Now whenever the Web Service is called to refresh the data and table data has to be reloaded, the data from table…
1
vote
1 answer

Today Widget view moves / constraints unstable

My today widget uses nested stackviews to lay itself out. However, there is slight movement / unintentional resizing when the window is dragged and also when users interact with the view: The stackview is simply pinned to all four sides of the…
vikzilla
  • 3,998
  • 6
  • 36
  • 57
0
votes
1 answer

How to update app from Today extension

I have requirement to update application containing viewcontroller from todayextension widget view controller when app is in either in background/foreground state. Lets assume. App containing viewcontroller contains list of information. Next press…
0
votes
1 answer

Today Extension background update

Can I update data in Today Extension, while it's in background? In a sense not visibile on screen. Or Only it's showing on the screen in method widgetPerformUpdateWithCompletionHandler??? thx for answers!
0
votes
0 answers

TodayWidget in ios not load

When I open notification center and the todayWidget of my app is listed down and not appears on the screen, then I scroll down to it, but then the TodayWidget not loaded. It looks like the TodayWidget is frozen... But when it listed up and if it…
0
votes
1 answer

Unable to load Today Extension with table view

I really could need some help... I try to use a today extension to get some stuff and refresh a cell with data from a SOAP request. It works like a charm in simulator but on a actual device (iPhone 6 Plus) widget updates the cell and shortly…
RyuX51
  • 2,779
  • 3
  • 26
  • 33
0
votes
0 answers

Today Extension Shared CoreData with App

I want to use today extension to add some data to coreData but I get some problems : "CoreData: error: Failed to call designated initializer on NSManagedObject class" and "sharedpplication()' is unavailable use view controller based …
1
2