Questions tagged [ios-extensions]

App Extensions for iOS development.

App Extensions for iOS development. App extensions give users access to your app’s functionality and content throughout iOS 8 and OS X Yosemite.

Starting in iOS 8.0 and OS X v10.10, an app extension lets you extend custom functionality and content beyond your app and make it available to users while they’re using other apps or the system. You create an app extension to enable a specific task; after users get your extension, they can use it to perform that task in a variety of contexts

Source: Apple App Extensions Document

iOS and OS X define several types of app extensions, each of which is tied to an area of the system, such as:

  • Share
  • Today
  • Photo Editing
  • CustomKeyboard
  • File Provider
  • Document Provider
  • Actions
  • Finder Sync

Please refer Here for more information:

350 questions
5
votes
0 answers

CallKit call blocking extension automatically disables occasionally

I have an app with a CallKit call blocking extension. Generally it works fine, but on some devices it occasionally becomes disabled by itself (well, in fact by iOS I guess) after a while – so user has to go to Settings and re-enable it again…
degapps
  • 794
  • 5
  • 10
5
votes
2 answers

iOS implementing NETunnelProviderProtocol with no remote server

I'm trying to implement a packet sniffer similar to Charles for iOS using iOS's NetworkExtension framework. Objective So, that's a big goal and I'm breaking it down into a tiny piece right now: I want to see the os_log from my NEPacketTunnelProvider…
wheresmycookie
  • 683
  • 3
  • 16
  • 39
5
votes
2 answers

Issues with adding today extension to flutter app

I wrote an app in Flutter, and I am looking to add a native iOS today extension to it. I added the widget target but when I try to build the build fails because the app extension target can not find specific flutter libraries (which does not make…
Nick Mowen
  • 2,572
  • 2
  • 22
  • 38
5
votes
0 answers

iOS Action Extension - memory usage ballooning when calling another Action Extension

I have an action extension which takes in an image, makes a small modification to the image (such as overlay a watermark), then allows to the user to open another UIActivityController to send the modified image to another (arbitrary) extension (such…
Mitch Cohen
  • 1,551
  • 3
  • 15
  • 29
5
votes
1 answer

Back link to previous app from containing app progmatically in case of deeplinks

I created a keyboard extension with a scan button to open a barcode scanner in my containing app. When the scan is completed, it should navigate back to the initial app and the barcode data should be set as text to the textfield that initiated the…
5
votes
1 answer

Prevent my own app's share extension from appearing in the share sheet

I'm building an iOS app that manages audio files. It includes a share extension to receive audio files from other apps. It also can share its audio files with other apps. When a share is initiated from my app, I do not want my own app to appear in…
Steve s.
  • 301
  • 1
  • 4
  • 13
5
votes
1 answer

iOS Share Extension flow

I have problems with creating share extension like share extension of the Pinterest app. When user is not logged to the containing app the share extension only presents alert with an option to log in and cancel. Where in code decide which view…
Marcin Kapusta
  • 5,076
  • 3
  • 38
  • 55
5
votes
2 answers

Getting an iOS Share/Action Extension to show up only for a single image

I have an action extension in an iOS app that I only want to be available when the user is sharing a single image. The NSExtension key in my info.plist looks like this. NSExtension NSExtensionAttributes
Ross Kimes
  • 1,234
  • 1
  • 12
  • 34
5
votes
2 answers

How to debug UI in iMessage Extension?

I am developing iMessage Extension, but i am facing some UI issues. But I am not able to debug UI as like iOS Application. As extension run on com.apple.MobileSMS(iMessage App Container). So, is there any way to debug UI of iMessage Extension ?
technerd
  • 14,144
  • 10
  • 61
  • 92
5
votes
1 answer

Show app as "Import with " in UIActivityViewController

I'm implementing export / import feature for my app: Export data with custom file extension (Backup.appname) → tap on file in mail or iCloud drive → have my app shown as "Import with AppName" in share sheet. I added a custom UTI and document type to…
Alexander Borisenko
  • 1,574
  • 1
  • 12
  • 16
5
votes
3 answers

iOS Share extension not working on image urls

I have a share extension that uses those rules: NSExtensionActivationSupportsWebURLWithMaxCount 1 NSExtensionActivationSupportsWebPageWithMaxCount 1
Canberk Ersoy
  • 428
  • 1
  • 5
  • 13
5
votes
1 answer

NEVPNErrorDomain Error 1 when trying to start TunnelProvider network extension

I'm trying to make a custom TunnelProvider network extension by starting with the XCode template for the TunnelProvider and then adding the code to the host app in order to configure it and start it. I am using an instance of…
Locksleyu
  • 5,192
  • 8
  • 52
  • 77
5
votes
1 answer

How to trigger reindexAllSearchableItemsWithAcknowledgementHandler and reindexSearchableItemsWithIdentifiers on CSSearchableIndexDelegate

Implementing a spotlight search plugin on iOS requires the implementation of the CSSearchableIndexDelegate. Is there a way to trigger reindexAllSearchableItemsWithAcknowledgementHandler and reindexSearchableItemsWithIdentifiers. I would like to be…
combinatorial
  • 9,132
  • 4
  • 40
  • 58
5
votes
1 answer

Tell background state of action extension

UIApplication has the handy applicationState property that allows you to see if your application is in the background or not. In action (and share) extensions, use of UIApplication is illegal, and even if you do get an instance of it within an…
Tim Johnsen
  • 1,471
  • 14
  • 33
5
votes
2 answers

Reloading Content Blockers in iOS

I have heard that iOS has support for content blockers, and that all blocking is done by a file called blockerList.json that resides in the App Bundle. While I know that SFContentBlockerManager.reloadContentBlockerWithIdentifier() will reload the…
saagarjha
  • 2,221
  • 1
  • 20
  • 37