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

Set notifications from iOS extension

i've tried using UNUserNotificationCenter.current().add(request, withCompletionHandler: nil) but it doesn't return anything. An alternative would be to send a message to the main app so it can set a notification, but this would mean that my app…
0
votes
1 answer

iOS Google drive "Send a copy" not showing app extension

I have setup NSExtensionActivationRule for audio, video, pdf and so on. I am able to see my app extension in photo app, files app and safari browser. but in case of Google drive, if i choose "Send a copy" , my app extension is not shown in that for…
user516542
  • 107
  • 2
  • 8
0
votes
1 answer

Can't run app with NotificationContentExtension in lower target version

The app's target is iOS 9+. I add Notification Content Extension (IOS 10+) but the app doesn't work. This message appears when I try to run it. App installation failed This app contains an app extension that specifies an extension point identifier…
e.ozmen
  • 269
  • 3
  • 17
0
votes
1 answer

How to debug the code under NotificationContentExtension?

I would like to debug my following code under NotificationContentExtension. It's not working. Even print statement is not working. I tried to also add blur effect for my custom view. This is not working. I also put a break point on the specific…
IKKA
  • 6,297
  • 7
  • 50
  • 88
0
votes
1 answer

How to apply custom font/color and semi-transparent background for my custom view in notification content extension?

I implemented Notification content extension for customizing my push notification alert. I got the alert like the following image. But I would like to apply following things to my custom view 1: How to make blurred/semi-transparent background for…
IKKA
  • 6,297
  • 7
  • 50
  • 88
0
votes
1 answer

Restrict iOS share extension only to Safari

Currently in my NSExtensionActivationRule, is only this value: NSExtensionActivationSupportsWebURLWithMaxCount = 1 But my share extension is also visible in Chrome, is there a way to restrict share extension to be visible only in Safari ?
David
  • 857
  • 1
  • 11
  • 25
0
votes
0 answers

How to get cordova-plugin-intent working on IOS

I tried following plugin on ionic-cordova, to share an url from safari(IOS) to my custom mobile-app: https://www.npmjs.com/package/cordova-plugin-intent Even though trying all the "info.plist" and JS stuff, and also trying following solution:…
0
votes
0 answers

Core Data Requests from Today Extension returning 0 results?

I'm working on a simple app, and am looking to include some Core Data functionality from the Today Widget. It's giving me some trouble however, and I'm not sure what it is I'm missing. Here's what I have done: I've added the widget target to the…
0
votes
1 answer

NSExtensionActivationRule for iOS Share Extension is not working

I am working on an app extension, that should help me to get the article URL via the sharesheet in the amazon app or in safari when surfing amazon. For safari, I receive the info as type kUTTypeURL. From Amazon, I get the URL as type kUTTypeText. As…
Alexander Ko
  • 195
  • 18
0
votes
1 answer

Share extension to share a number from recent calls

Working on the first swift app, and stuck in "share extension". Trying to share a phone number from recent calls log to an app for background task. Thought to do it in this way, once user enter profile of a number from recent call log: Will see the…
0
votes
1 answer

Accessing Realm from an iOS Extension while using Realm Mobile Platform

I would like to access my Realm from an iOS extension however the realm path is unavailable when using the Realm Mobile Platform. I've received advice from realm to hold a cloned copy and keep it in sync. How can that be achieved? ...and is it…
gerbil
  • 859
  • 7
  • 26
0
votes
1 answer

How to handle "don't allow" permission in iMessage extension?

I am developing one iMessage Extension in which I need to use photos from Photo Library, but here it generated one use case for which I am not getting any solution. When OS ask for Photo permission access to user, then user set Don't allow, after…
technerd
  • 14,144
  • 10
  • 61
  • 92
0
votes
2 answers

How to oppen base application from extension in iOs

I'm trying to open base application from iMessage app, which is an extension in my xcode project(added as target app). Im using[self.extensionContext openURL:url completionHandler::^(BOOL success) {}]; but it doesn't work. here is info.plist in base…
passingnil
  • 403
  • 1
  • 5
  • 14
0
votes
1 answer

Inability Sharing a file via iOS Share Extension

I've received the following log from a customer who claims to be sharing photos from the photos app via Share Extension. The customer is making an assumption that internet connection to the router is bad. The behavior as described by the customer is…
Ahmed Ebaid
  • 417
  • 6
  • 21
0
votes
1 answer

Share Extension Google Chrome - Not working

I am having issues with getting my share extension to show up in Google Chrome. It shows up and works great in Safari, but does not show up in Chrome. I am using the following activation rule and it's also working in other apps (images, pdf, sharing…
tcj123
  • 167
  • 1
  • 2
  • 10