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
0
votes
1 answer

Make iOS Action Extension get notified that the Host app became active

I have an Application and an accompanying Action Extension. The extension's main purpose is to upload a file from any calling app into the URL provided by the main app. The workflow is: In the main app, user selects an URL from the list In any app,…
Vitalii
  • 4,267
  • 1
  • 40
  • 45
0
votes
2 answers

How prevent view under navbar in iMessage app extension

I have the same issue in this post, i follow all recommended in that answers but notting works, in my case the difference is that i have a table view controller. I have tried in many ways to prevent this from…
jose920405
  • 7,982
  • 6
  • 45
  • 71
0
votes
1 answer

Unable to install AppStore version directly to mobile device when using an iOS App Extension

At our company the process we execute normally is: fix/implement test ad-hoc version create AppStore package test that AppStore package by installing it directly through iTunes. submit version to AppStore. The reason why we need to test also the…
Artemix
  • 8,497
  • 14
  • 48
  • 75
0
votes
2 answers

Swift3 CoreData with Extension

I'm working on core data with extensions, and having errors below. Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'executeFetchRequest:error: is not a valid NSFetchRequest.' It's working well on host app still,…
Minjee
  • 71
  • 1
  • 8
0
votes
2 answers

Facebook SDK inside iOS app extension cannot find logged in user?

I've created a sample app Share extension. Followed the Apple guides, which means my project consists of a main app and a "share extension" target. I've setup my Facebook SDK inside the main app, since the app's settings has some FB login/status…
Sagi Mann
  • 2,967
  • 6
  • 39
  • 72
0
votes
0 answers

Keeping Extensions in Memory, iOS apps

For iOS extensions (I'm in particularly thinking about keyboards), it seems like they have to re-initailize all objects every time the extension is pulled up. Is there anyway to keep them in memory?
nilcit
  • 483
  • 1
  • 5
  • 12
0
votes
1 answer

Can an iMessage App extension use View Controllers defined in the host app?

When creating an iMessage app that is an extension of an existing iOS app, can the iMessage app use View Controllers that were defined in the host app? For example, let's say I have an iOS app that allows you to book meetings and it has a Calendar…
H K
  • 1,215
  • 2
  • 16
  • 29
0
votes
1 answer

How can I open my app using openUrl schema from app extension?

How can I open my app using openUrl schema from app extension? I have killed my app from background and I want open my app using app extension. Is it possible? I have the following block of code, but it is not working. [self.extensionContext…
iOSDeV
  • 77
  • 10
0
votes
2 answers

Custom keyboard: get notified when text updates

Is there a method in UIInputViewController when the text that the custom keyboard is modifying updates? textWillChange/textDidChange only notify me about cursor movement.
Foobar
  • 7,458
  • 16
  • 81
  • 161
0
votes
1 answer

Call from App Extension (iMessage)

I'm working on iMessage app extension for my app and i was wondering if its possible to initiate a phone call from App Extension? I tried using the following code but it takes me (deeplink) to containing app. cell.didTapCallNowButton = { cell in …
DevCali
  • 398
  • 6
  • 20
0
votes
1 answer

Integrating Parse in App extension

I’m trying to implement parse functionality in a app extension. The main app uses Parse to push and retrieve data. The problem is I can't install the parse SDK to my app extension. Is this even possible? I've been on google for about three hours and…
user6553825
0
votes
0 answers

Creating an share app extension for YouTube app, non-native share menu?

I'm creating an app extension so I can share a video url from the YouTube app share menu, this is working just fine on an iPhone I've been testing, however when I tried the same on an iPad mini, the share menu seems to be different, and instead of…
Artemix
  • 8,497
  • 14
  • 48
  • 75
0
votes
1 answer

Can a IOS keyboard extension access the keychain?

I am trying to share keychain data between my app and my custom IOS keyboard extension. Whenever I try to access the keychain from the keyboard extension I get the error: OSStatus error:[-25291] No keychain is available. You may need to restart…
Foobar
  • 7,458
  • 16
  • 81
  • 161
0
votes
0 answers

App Extension does not debug properly

I am creating a Today App extension. In Xcode, I specify the scheme to launch the Extension target and place a breakpoint in viewDidLoad. The debugger will stop at the breakpoint the first time, but then not again for many launches. Some random…
Alex Bollbach
  • 4,370
  • 9
  • 32
  • 80
0
votes
1 answer

Cannot find file in app extension's shared container

I want to write log file at my extension, and read it at my app. For this purpose, I'm using shared groups (so both the app and the extension would be able to read from the same file) I wrote the following code: Extension: let fileManager =…
Witterquick
  • 6,048
  • 3
  • 26
  • 50