Questions tagged [today-extension]

A Today Extension is a widget shown in the today view of the notification center of OS X and iOS.

Usually a today extension shows informations which is related to current events, like current sock prices, weather and upcoming events. Some extensions though provide other functionality like a calculator or iTunes controls.

Today Extensions were introduced in iOS 8.0 and OS X 10.10 and can be published by developers through the App Store.

App extensions in the Today view are called widgets. Widgets give users quick access to information that’s important right now. For example, users open the Today view to check current stock prices or weather conditions, see today’s schedule, or perform a quick task such as marking an item as done. Users tend to open the Today view frequently, and they expect the information they’re interested in to be instantly available.

To read more follow this link - App Extension programming guide

460 questions
0
votes
2 answers

iOS Today Extension MapView Only Work on Xcode Simulator

I've implemented a Today widget for my application. The mkmapView work fine in two situation: 1. Xcode simulator 2. device run with Xcode but the mapView only show background color and user's Location marker when I run the widget by device…
YenCheng
  • 13
  • 2
0
votes
2 answers

Does locationManager:didUpdateLocations: method called at the same time in extension and its containing app

Here is the scenario,I have added a today extension target to my app. And in my widget ViewController, it listens to location changes via Core Location framework.Also,there is location changes listener in my containing app.And I know there is a…
tounaobun
  • 14,570
  • 9
  • 53
  • 75
0
votes
1 answer

is it possible to open specific viewcontroller(containing app) after tap on extension(today extension)?

I am using Today extension in ios. I have multiple view controller with different info. and I am displaying some info in tableview using Today extension. when click on row then I want to open related viewcontroller with info. I have tried following…
Vinod Jadhav
  • 1,055
  • 1
  • 15
  • 37
0
votes
2 answers

Add UITableView in Today extension

I am new in iOS. I want to use Today extension. I have created Today extension and add uitableview it works fine. but when I try to select row then delegate Method DidSelectRowAtIndexPath doesn't call. In my code there are 3 methods of uitableview…
Vinod Jadhav
  • 1,055
  • 1
  • 15
  • 37
0
votes
0 answers

A Hello World Today extension does not appear

I'm quite new to iOS and I hit 2 problems when writing a hello world Today extension for iOS8. I tried to create a simple today extension using the template and it works good. However if I tried 1 of the following, the widget does not show up in…
D_BOY
  • 11
  • 2
0
votes
1 answer

iOS 8 widget, sharing data between app groups forward and backward

I've a messages app and I started to create a widget. Updating the core data with the new messages happens when user open the app. My wish is when: - (void)widgetPerformUpdateWithCompletionHandler:(void (^)(NCUpdateResult))completionHandler called…
Idan Moshe
  • 1,675
  • 4
  • 28
  • 65
0
votes
0 answers

IOS8 widget todays extension issue

I am newbie in storyboards and auto layouts/constraints. I have to show one of three different views and some times full three views in widget todays extension iOS8 at specific time and I am using IBOutlets and storyboard with auto layout and…
0
votes
1 answer

How to use a UITextField in today extension in xcode 6?

I have created an extension for notification center and I wanna get some text inputs from the user. There is no problem with adding and interacting with the text fields. but when the text field gets focus keyboard will appear under the notification…
hmak.me
  • 3,770
  • 1
  • 20
  • 33
0
votes
0 answers

UIImageView disappears randomly?

In my widget extension, I have only the following code that gets called when the widget appears, nowhere in the code, am I adjusting the frame or hidden properties of _imageView. However, every time this code is executed, the code works fine and…
user2284295
0
votes
0 answers

Todays Extension container app action

I know how to open hostApp from the todays extension. But i have no idea how to perform an action in hostApp, when it opens it only from the todays extension. Any suggestions.? thanks in advance.
Alvin Varghese
  • 842
  • 10
  • 33
0
votes
1 answer

Can't share data between app and today extension

I am developing to-do list app. In this app, i add the today extension. It is used to show the to-do list for today. This is the code for share data between app and today extension. For testing purpose i add the only one item in the…
Anbu Raj
  • 831
  • 2
  • 8
  • 25
0
votes
0 answers

Share extension show console warnings when its open from Safari

A simple Share extension (Nothing has changed in that just add new target as Share extension). Here i observed that console shows some warning when i run Share extension target from Safari application. Reference images: Choose run target. Tap on…
Kampai
  • 22,848
  • 21
  • 95
  • 95
0
votes
1 answer

Is Core animation not possible in an today extension

I'm building an today extension (widget) in iOS and was hoping it would be possible to add some subtle animations. Specifically i'm trying to transition a text label when the text changes. My code works as expected in a regular app, but not in the…
Trj
  • 657
  • 9
  • 21
0
votes
1 answer

How to localize iOS 8 Today Widget?

I am trying to localize my iOS 8 Today center widget. I have a storyboard specifically for the widget and hit the localize button and selected Spanish. The same way I localized the normal part of the app. As you can see here: The files have the…
Stephen
  • 1,427
  • 1
  • 17
  • 42
0
votes
1 answer

iOS 8's Today Widget and iCloud / NSUbiquitousKeyValueStore

Am I doing something wrong, or is accessing NSUbiquitousKeyValueStore from a Today Widget on iOS 8 not allowed at all? I'm trying to access the containing app's NSUbiquitousKeyValueStore, but, for example, when I -synchronize; it returns 0, as in…
1 2 3
30
31