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

What is OSSError -995 and what do I do to fix this? (ios share extension)

I extract path_lower from meta info request for a folder and feed that into client.files.listFolder(path: path, recursive: true, includeMediaInfo: true).response({ (files, error) in I'm getting OSError: Optional(Error Domain=NSURLErrorDomain…
Anton Tropashko
  • 5,486
  • 5
  • 41
  • 66
0
votes
1 answer

How to debug iOS 9 extensions

Is there a way I can debug my networkextension (NEPacketTunnelProvider)? . I use NSLog but not use for extension (only for container app). I found system log in window -> devices, but only have crash logs. so I can only debug by…
kinolee
  • 53
  • 7
0
votes
1 answer

How to have a share extension to show up for multiple photos

I'm having difficulty to have my share extension to show up in the list of extensions when multiple photos or urls are selected in photos, dropbox, etc switched NSExtensionActivationRule from dict to a string per apple documentation: …
Anton Tropashko
  • 5,486
  • 5
  • 41
  • 66
0
votes
1 answer

Adding target to CocoaPods for extension

Okej, I'm fighting against this for several hours now, and I'm completetly out of ideas. I'm creating app that has Action Extension needed for getting currently watched website URL. I need to share some code between app and extension (mainly network…
Kamajabu
  • 596
  • 1
  • 5
  • 19
0
votes
0 answers

Photo extension memory constraints in iOS 10

Per this question: How to handle memory constraints in iOS 8 Photo Extensions? when iOS 8 was released, there was a significant memory constraint for photo extension developers that limited the available memory for the extension to roughly…
brandonscript
  • 68,675
  • 32
  • 163
  • 220
0
votes
1 answer

Screenshot of contents of Safari from share extension

In the Share Extension for Safari, is it possible to take a screenshot and save it to Userdefaults so my app can access it ? Would this be a recommended way of capturing a screenshot of the browser from an app extension ?
NetCod
  • 191
  • 1
  • 2
  • 12
0
votes
1 answer

iOS widget extension works from xcode but not when archived

If i run the extension or app from xcode, they both work fine, but if i archive, create an IPA file and install it via itunes, then the widget is always "Unable to load" (but the app itself still works fine). I noticed that if i turn "always embed…
usrgnxc
  • 794
  • 2
  • 9
  • 34
0
votes
1 answer

When writing a category, should i use self or the category name

When writing a NSString category/extension, does it matter if i use return [self stringWithFormat:units[i], value/10.0]; or return [NSString stringWithFormat:units[i], value/10.0]; is there an advantage to using self or is this one of those user…
highboi
  • 673
  • 7
  • 28
0
votes
0 answers

Is it possible to identify what sticker was assigned to your iMessage Extension?

We need to implement iMessage application with the possibility to assign ratings to the messages. Are there any possible way to do it with stickers? Does iMessage extensions API allow to identify what sticker has been assigned to the sent message?…
Vitaliy
  • 2,744
  • 1
  • 24
  • 39
0
votes
1 answer

DidSelect method not getting called when tap on message in iMessage Extension

I am developing iMessage Extension, but didSelect(_ message: MSMessage, conversation: MSConversation) not getting called always, sometimes it called. But not getting when it calls and when not. According to my observation after launch of extension,…
technerd
  • 14,144
  • 10
  • 61
  • 92
0
votes
1 answer

`UIDocumentPickerExtensionViewController`: This image is of an unsuported type

I am creating a UIDocumentPicker extension on iOS for the first time. I have populated the UIDocumentPickerExtensionViewController subclass with its appropriate methods. In my UI when the user selects the document from my extension, I am able to…
Wayne Hartman
  • 18,369
  • 7
  • 84
  • 116
0
votes
1 answer

How to get MSMessage summary text from Received Message?

I am passing summary message in MSMessage , but when try to get when message received at other end, it returns nil. Below is code for create Message. fileprivate func composeMessage(with url: String, andEventInfo eventInfo: NSDictionary?) ->…
technerd
  • 14,144
  • 10
  • 61
  • 92
0
votes
2 answers

Change Widget UIVisualEffectView blur style to dark

I'm working on updating one of my widgets for iOS 10 and in the process its UIVisualEffectView style automatically changed to light. My other widgets that I have not started updating for iOS 10 yet have a dark UIVisualEffectView style. How can I…
Daniel Storm
  • 18,301
  • 9
  • 84
  • 152
0
votes
1 answer

How do I implement Apple's guidance for shared Extension code in Xamarin?

The Apple Extension guidance has this document on Using an embedded framework to share code I want to share code between my Extension, and the hosting application. How do I implement the following within an Xamarin app: Require Only…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
0
votes
1 answer

iOS Sharing Extension app icon not changed to new

I have changed the appicon in xcode project. But My sharing extension keeps showing old one. When I delete appicon files then it shows nothing but when I add again it shows me old one. By the way it shows correct in the simulator but not in device
Asadullah Ali
  • 1,056
  • 14
  • 31