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
3
votes
2 answers

Full screen iOS share Extension

I know how to create an iOS share extension, but what I can't figure out is if there is a way to make it fullscreen such as an Action extension? Pinterest seem to do this but I'm not sure how. The docs for an Action extension say to use: …
TommyBs
  • 9,354
  • 4
  • 34
  • 65
3
votes
2 answers

ios - Handle keychain loss after changing to team id prefix

As I am developing extensions for my app, to share keychain I got bundle identifier changed to Team Id Prefix. Now I want to log out user first time as old keychain will not be accessible. Problem is I cant upgrade my app. I installed older version…
Durgaprasad
  • 1,910
  • 2
  • 25
  • 44
3
votes
1 answer

IOS) Photo Extension Unable To Save Changes Issue

I am making Photo Extension, but when I am trying to save changes(Done button Tapped). Alert Message Says "Unable to Save Changes" - 'An Error occurred while saving. Please try again later.' This is my code for …
TKang
  • 75
  • 2
  • 7
3
votes
1 answer

Where do i set Google Maps API key in an Action Extension, iOS Swift

So i have this action extension that needs to use Google maps. Usually when you want to use Google Maps in an iOS app, you add the key in AppDelegates didFinishLaunchingWithOptions function. In an App Extension you don't have an AppDelegate…
Simon k
  • 403
  • 1
  • 5
  • 17
3
votes
0 answers

Can Cocoapods support using a shared framework in both an iOS app and iOS extension where the shared framework uses APIs that aren't extension-safe?

I support a suite of related iOS apps, some of which make use of extensions (WatchKit and Today Widget). All of these apps and extensions make use of a shared private framework I've built up over time for handling certain workflows around…
beno
  • 2,160
  • 1
  • 25
  • 24
3
votes
1 answer

How do I change the height of an iOS extension?

How do I change the height of an iOS 10 extension in compact mode? Or more broadly, how do I change the height of an extension without using widgetActiveDisplayModeDidChange?
Noha Mohamed
  • 147
  • 1
  • 8
3
votes
2 answers

Can we have different bundle identifiers for a sticker pack extension and the existing iOS app?

We are about to release a stickers pack extension to our existing iOS app. This is how I've added the sticker extension to the existing iOS project in xCode 8. File -> New -> Target -> Sticker Pack Extension. Bundle identifier for the existing iOS…
Pradeep Rajkumar
  • 919
  • 2
  • 12
  • 27
3
votes
0 answers

iOS 10 Notification Content Extension callback not called

iOS 10 introduced a new extension: notification content extension. When I play with it, I found a bug. In the new protocol: UNNotificationContentExtension, the callback method - (void)didReceiveNotification:(UNNotification *)notification; will be…
Yong Li
  • 266
  • 1
  • 7
3
votes
1 answer

How to present an action extension in an action sheet rather than full-screen modal view?

According to the documentation, action extensions appear in an action sheet or full-screen modal view. But for IPhone portrait orientation it is always fullscreen by default. How can I present the action extension view in an action sheet for the…
3
votes
1 answer

How to keep IOS extension server-fetched data up-to-date

This question is relevant to an app: That provides an extension as its sole function. Relies on remote data fetched from a server. Does not offer anything useful in UI to keep users regularly opening it. A perfect example for such an app would be…
yurgis
  • 4,017
  • 1
  • 13
  • 22
3
votes
5 answers

Can imessage extension open host app?

I've tried [self.extensionContext openURL:completion], but my app crashed. I heard some extensions can't use this method, can iMessage extensions? By the way, can host app activate its iMessage extension?
Maize
  • 109
  • 2
  • 8
3
votes
2 answers

Xcode: How to remove a target dependency from the build phase for a specific configuration

I have an app that includes a Watch Extension and App target. I would to be able to have one of my configurations (for a beta) exclude these targets from the target dependencies so that I can distribute the build without the Watch Extension/App.…
Mark Leonard
  • 2,056
  • 19
  • 28
3
votes
1 answer

iOS import files into my application

I am creating an iOS application through which users can print the files on their device. From my application, I can access the files on the device though the DocumentPicker provided by other apps such as iCloud Drive, Dropbox, etc. Now, I want to…
Prerak Sola
  • 9,517
  • 7
  • 36
  • 67
3
votes
1 answer

Sharing realm between containing app and extension

I am sharing the realm between containing app and extension (custom Keyboard), and it works ok on simulator, but when I'm trying to run this app on the real device I have the following error: Cannot load underlying module for 'RealmSwift' It's…
lithium
  • 1,272
  • 1
  • 14
  • 28
3
votes
2 answers

How to detect memory warnings in iOS App Extension

I'm writing an iOS extension that extends NEPacketTunnelProvider in the NetworkExtension framework released in iOS 9. I'm running into a situation where iOS is killing the extension once hits 6MB of memory used. In a regular iOS app, there are two…
Grant Limberg
  • 20,913
  • 11
  • 63
  • 84