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

React Native: This is not a function handling custom URL scheme

I have followed a tutorial on how to handle a custom URL scheme. This is the way I have it set up. componentDidMount() { Linking.addEventListener('url', this.handleOpenURL); } componentWillUnmount() { Linking.removeEventListener('url',…
Curt Rand
  • 1,025
  • 1
  • 9
  • 27
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
1 answer

ViewDid Load of today Widget gets called every time

I have implemented today widget for displaying recently recorded videos thumb.i am using collection view in Widget Storyboard file. Its all working fine. I am able to get required thumbs from shared container and bind it to collection view as well.…
hpp
  • 619
  • 3
  • 13
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
1 answer

UITableView in Today extension unresponsive

My Today extension is editable, so the user can change what is visible in the widget. The problem I am having is that usually after adding adding new elements to the widget, the widget becomes unresponsive. To make it work again I have to close the…
Black Magic
  • 2,706
  • 5
  • 35
  • 58
0
votes
1 answer

Update Application Badge With WatchKit and Widget (Today Extension)?

In my app I currently update the application badge after certain events using this code which works: [[UIApplication sharedApplication] scheduleLocalNotification:localNotification]; However [UIApplication sharedApplication] cannot be called from…
0
votes
1 answer

How to call openURL method in today widgets when app is not running in iOS?

While implementing Today Widgets Open URL method is called while it is running in background or currently running in foreground . But when it is not lunched ,it don't call openURL but call didFinishLunch. So How to handle this situation . I am…
Shrawan
  • 7,128
  • 4
  • 29
  • 40
0
votes
1 answer

iOS 8 Today extensionContext.openUrl not working

From the today extension, I use the following code to open a url in the main app. It works totally fine in iOS 9+, but in iOS 8 it never hits the openUrl method in AppDelegate but simply launches the app. extensionContext.OpenUrl (url, (bool…
0
votes
1 answer

Setting detailTextLabel in TodayExtension's TableViewCell failed

I try to display a text in the detailTextLabel of the tableView in my today extension. The code seems to be correct, but I don't know why it's not displayed in the cell. I set the text like in the normal tableView in the iOS app ( …
0
votes
2 answers

Why Today Notification Widget crashes at startup?

Today Notification Widget launch crashes with the following error: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: <__NSConcreteUUID 0x170026460> …
Silviu St
  • 1,810
  • 3
  • 33
  • 42
0
votes
1 answer

Why tapping a button in Today Notification Widget causes whole view move to left?

I make a Today Notification Widget and I use AutoLayout. When I press a number button, whole view moves to left. I cannot figure out why. Why view moves left when I tap a button? Is it from AutoLayout or is a general problem? Before touch After…
Silviu St
  • 1,810
  • 3
  • 33
  • 42
0
votes
2 answers

In today extension, how could i get data from the main application?

In my app's today extension, I want to get some text from the main app. I tried using NSUserDefault and Notification, nothing I could get. I don't want to copy the same lengthy code from the main app, so how could I do? Thanks!
ImWH
  • 820
  • 1
  • 7
  • 20
0
votes
1 answer

CocoaPods on Today Extension

I have a project written in Swift with CocoaPods installed. The project have a Today Extension and I added some Pods to this Target. So far so good. Running on Simulator it's okay! But running on device I got this error: dyld: Library not loaded:…
0
votes
1 answer

Can we share App class in Today- Widget-Extension

I am developing an application where I have to use my some class in Today- Widget-Extension. But I am not getting any way to access those class. Is it possible to access application class in Today- Widget-Extension.
shareInfo
  • 11
  • 4
0
votes
1 answer

Today Extension "Unable To Load"

I'm using Parse to load data into my Today Extension and then update my Widget text field. When I run my code there seems to be no problems, in fact to debug the code in my Extension I copied the function into my main application and ran it so I…
Vishnu Murale
  • 173
  • 14