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

Testing iOS Share Extensions with Apple Wallet

I would like to test if my share extension works with the Share option available inside the passes from Apple Wallet. I have already tried to run the extension from Xcode, I can find some apps (Messages, Maps, Safari, etc...) but I can't find…
Nicola Giancecchi
  • 3,045
  • 2
  • 25
  • 41
2
votes
0 answers

Why would I put data in the app's documents folder instead of the group container?

My iOS app is going to have an extension. I'm planning to share the documents & database with the extension by creating an app group and putting the files into the group's container, per the official guidelines. Are there any downsides to keeping…
Leonid Shevtsov
  • 14,024
  • 9
  • 51
  • 82
2
votes
1 answer

iOS - Data saved in shared group extension folder is deleted in low storage scenarios. is this normal?

I've had two users report to me that my database (realm) was suddenly empty, breaking the app. My database is in a shared group extension folder so an extension can access it. After talking with both of them, I determined that they both had very low…
Ben987654
  • 3,280
  • 4
  • 27
  • 50
2
votes
1 answer

Different deployment targets on app extension

Recently added a stickers extension to one of our iOS apps. Since it's packaged together, I am curious if the deployment targets need to match ? For instance. Our iOS App has a deployment target of 8.0, and the stickers extension has an deployment…
Bodman
  • 7,938
  • 3
  • 29
  • 34
2
votes
0 answers

How to configure Bundle ID for iOS Framework targets for App and Appex

There is a KeyboardKit (Swift 3) iOS Framework which I recently decided to separate into two targets KeyboardKit and KeyboardKitAppex. The former will be used within the Application target, the latter within Application Extension target…
Yevhen Dubinin
  • 4,657
  • 3
  • 34
  • 57
2
votes
0 answers

Differentiate between File URL and normal URL

I have an Action Extension which can receive various types of files from other apps installed on the device. For this, the Info.plist has the following entries: NSExtensionAttributes NSExtensionActivationRule
Prerak Sola
  • 9,517
  • 7
  • 36
  • 67
2
votes
1 answer

Can't save url shared with extension

I want to use an extension to share an url with the host app. urlShareManager is a singleton in an embedded framework I use to communicate between the app and extension. When I call urlShareManager in Viewcontroller I can add urls. It doesn't work…
Vimy
  • 142
  • 2
  • 9
2
votes
1 answer

App icon of Share extension is not updating in device even with updating app icon

In my iOS application, I have a share extension. Initially we were using the different app icons. Later we changed the app icons for the application. The old icon has got replaced from everywhere, but for Share extension, it is not getting replaced…
virus
  • 1,203
  • 13
  • 21
2
votes
1 answer

Update UIApplicationShortcutItem from extension

I am building a Today Extension to an app, and it works great to modify my application data. But now my dynamic UIApplicationShortcutItems are out of sync. I can't access UIApplication.shared from my extension. Is there a way to ask the app to…
Henrik
  • 3,908
  • 27
  • 48
2
votes
1 answer

Possible to reduce the size of iOS extensions in Xamarin?

I would like to add several extensions into my iOS application but it seems that once I do, I quickly exceed the 100Mb limit that Apple places on Over-The-Air downloads. com.apple.usernotifications.content-extension…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
2
votes
0 answers

How does IOS interpret a file opened in a browser?

Im working on a project in IOS 9.3, and im using an action extension to grab documents, images and weburls that is shared by the user. In my info.plist I've allowed files, webpages, weburls and images as shown below. NSExtension
Simon k
  • 403
  • 1
  • 5
  • 17
2
votes
2 answers

How to identify that message in iMessage extension is from sender or receiver?

I am developing iMessage Extension in which I have to open detail view controller when user tap on receiver's Message. But at the moment not getting way for how to differentiate that tapped message is from receiver's or sender's(User's Own message).
technerd
  • 14,144
  • 10
  • 61
  • 92
2
votes
0 answers

How to use Crashlytics in UNNotificationServiceExtension?

Good day, Does Crashlytics support iOS10's UNNotificationServiceExtension? Noticed that service extension is being terminate occasionally (not a timeout) and having hard time getting logs out of it. Thanks!
Konstantin Loginov
  • 15,802
  • 5
  • 58
  • 95
2
votes
0 answers

`activeConversation` is `nil` after transitioning to `.compact` presentation style

Issue In a Messages framework app (iOS 10 beta 8), I'm able to access the activeConversation in the Messages extension using: guard let conversation = activeConversation else { print("unable to create activeConversation") return …
Ash Ryan Arnwine
  • 1,471
  • 1
  • 11
  • 27
2
votes
1 answer

How to smoothly translate view in iMessage extension in iOS 10?

I have issue when I try to push view controller in willTransitionToPresentationStyle:. The view was blinking for a split second before it fully expanded. It might be a small glitch or bug since iOS 10 and Xcode 8 are still in beta. But when I…
REALFREE
  • 4,378
  • 7
  • 40
  • 73