Questions tagged [ios-app-extension]

App extensions are a feature introduced in iOS 8 that allows apps to extend their functionality and become available to users while they're using other apps. Extensions are created to do a specific task, such as enabling sharing Safari pages through your app, or to display an interface in Notification Center for your app.

App extensions are a feature introduced in iOS 8 that allows apps to extend their functionality and become available to users while they are using other apps.

Extensions are created to do a specific task, such as enabling sharing Safari pages through your app, or to display an interface in Notification Center for your app.

722 questions
1
vote
1 answer

In which process runs iOS app extension?

I am reading iOS app extension programming guide and here is written the following: While an extension is running, it communicates directly only with the host app. There is no direct communication between a running extension and its containing…
someUser
  • 965
  • 12
  • 24
1
vote
1 answer

Can't view NSLog messages for App Extensions in iOS8

I have tried everything in this thread: How to debug iOS 8 extensions with NSLog? And I am still unable to view NSLog messages for my app extension in Beta 5 & XCode Beta 5. Would someone mind posting a step by step? Here's what I've tried: Running…
barfoon
  • 27,481
  • 26
  • 92
  • 138
1
vote
1 answer

My today extension's body is not showing swift

I've been writing a today widget. The extension has a title but the body is not showing. I changed viewDidLoad method with this and added constraints to elements, still not working in simulator or device. override func viewDidLoad() { …
amone
  • 3,712
  • 10
  • 36
  • 53
1
vote
2 answers

Today Extension and background audio

I am trying to do a simple podcast-like widget for iOS 8. Things works fine, audio works... except that when the screen sleep, the audio stops. Can Today Extension do background audio? Or multitasking in general?
Lim Thye Chean
  • 8,704
  • 9
  • 49
  • 88
1
vote
1 answer

iOS 8 Today Extension Widget only appears on iPhone after rebooting

I have created a working iOS8 app extension widget for my app. In the simulator it appears by pulling down Notification Center and clicking edit and adding the widget, however if I compile my app to my iPhone 5S, the widget does not appear in the…
Jackson
  • 3,555
  • 3
  • 34
  • 50
1
vote
0 answers

iOS8 Custom Keyboard View Loading Management

I'm building a Custom Keyboard As Apple recommends, I am customizing my keyboard UI in the viewDidLoad method The problem is that my keyboard seems to stutter every time it's loaded Do you know of any best practices to manage loading of keyboard…
nurnachman
  • 4,468
  • 2
  • 37
  • 40
1
vote
2 answers

Today Extension Not Positioned Correctly

I'm developing a Bitcoin Today Extension and for some reason, the control has an offset. Here's what it currently looks like: https://i.stack.imgur.com/08WV2.png As you can see, the button is barely on the screen, and the label isn't on the left…
Zane Helton
  • 1,044
  • 1
  • 14
  • 34
1
vote
1 answer

TodayViewController recreated every time Notification Center is shown

When trying to develop a Today Extension for iOS 8 I found a weird issue. It would seem that the View Controller I'm using is being recreated every time the user opens Notification Center. This means that there is no data retention and hence no way…
Rick
  • 3,240
  • 2
  • 29
  • 53
1
vote
1 answer

Today Extension Widget content update

Suppose I am making a stock ticker widget (a.k.a. today extension). While the widget is visible on the screen, I want to periodically update the content every minute. My understanding is the widget cannot directly make networking calls and it…
mobileideafactory
  • 1,640
  • 1
  • 22
  • 30
1
vote
1 answer

iOS8 extensions - what happens on iOS 5/6/7?

I have an application that was developed to support older versions of iOS as well, but I recently started on working on a Today extension in iOS8. Now my question is, what will happen to my app in the store? Will it ignore it and make it iOS8…
Laszlo Fuleki
  • 332
  • 1
  • 7
1
vote
1 answer

Access code and data in hosting app using today extension

I'm wondering if it's at all possible to access features in the main app using a today extension in iOS 8. For example, can a media player send commands from its extension to the main app without opening the app (I know there is a framework for this…
Rick
  • 3,240
  • 2
  • 29
  • 53
1
vote
2 answers

iOS force App to use custom keyboard

I am working on the app which has a one text-field which should accept only numbers so I created one custom keyboard which has only [0-9] as input to accept.To use this custom keyboard one has to go setting-->keyboards then accept this and then…
user3226440
  • 559
  • 1
  • 8
  • 23
1
vote
1 answer

Adding Today Extension Fails To Compile

I recently set out to build an iOS 8.0 Today Extension into an existing project but I'm having trouble getting started. Before adding the today extension I was able to open my project in Xcode 6 and run without any issues. However, after I add the…
AdamPro13
  • 7,232
  • 2
  • 30
  • 28
1
vote
0 answers

opening another app from custom keyboard

How can I open another app from an iOS8 Custom Keyboard? Is there a special method? My current solution is running a loadRequest method in a webview inside the custom keyboard Will Apple approve that?
nurnachman
  • 4,468
  • 2
  • 37
  • 40
1
vote
1 answer

inapp purchase inside extensions in iOS 8

Would it be possible to add inapp purchase inside extensions in iOS 8? For example, a custom keyboard may have free and pro versions based on inapp purchase. Thanks a lot in advance.
RomeoF
  • 299
  • 3
  • 12