Questions tagged [ios-app-extension]

App extensions are a feature introduced in iOS 8 that allows apps to extend their functionality and become available to users while they're using other apps. Extensions are created to do a specific task, such as enabling sharing Safari pages through your app, or to display an interface in Notification Center for your app.

App extensions are a feature introduced in iOS 8 that allows apps to extend their functionality and become available to users while they are using other apps.

Extensions are created to do a specific task, such as enabling sharing Safari pages through your app, or to display an interface in Notification Center for your app.

722 questions
0
votes
1 answer

App Extension (Action Extension) doesn’t open

For some reason that I don't understand, the Action Extension Button (in Share menu) doesn't respond. Action extension, at this point, catches the URL from Safari (where it was launched from) to make some things after. As a layer between Web and…
0
votes
1 answer

UIActivityIndicatorView is not spinning in the share app extension

I have an UIActivityIndicatorView in the tableview cell. To display the uploading status. It works great on my app. But it never spinning in the share app extension. class MyCell: UITableViewCell { @IBOutlet private var activityIndicator:…
0
votes
1 answer

How to persist a variables value in Notification Service Extension on subsequent push notification

Is there a way somehow we can persist a variable's value in NSE. Suppose i got a Bool variable i set it's value to true upon arrival of push in NSE and show the notification upon my work, now i got another push notification after some time is there…
0
votes
1 answer

Fails running sample project with Broadcast Upload Extension on iOS device

I'm trying to make from scratch a simple iOS app with a Broadcast Upload Extension. The scope is just showing the RPSystemBroadcastPickerView, start broadcasting and receive the audio & video samples in the upload extension. This is the code for…
alexbumbu
  • 321
  • 3
  • 10
0
votes
1 answer

FBSDKCoreKit/FBSDKLoginKit from Firebase pod?: 'sharedApplication' is unavailable: not available on iOS (App Extension)

I am trying to get my extension working with Firebase. For some reason, the FBSDKCoreKit and FBSDKLoginKit are being added and giving the "sharedApplication is unavailable" error. The thing is, I'm not even using those kits... I'd like to get rid of…
Tai1
  • 51
  • 5
0
votes
1 answer

Xcode Swift, will console logs affect App Store approval? App works fine regardless

I am about to release the 2nd version of my app, however, I seem to face console logs that seem a bit frustrating. My app works completely fine even with the issues, but these console logs are delaying my App Store submission. Will Apple take into…
0
votes
1 answer

Passing data and variables between targets

Overview I'm trying tot understand app groups so that I can pass data and variables from my main app to my extension and viceversa. What I found It's very hard for me to understand a few concepts because all I could find were other SO questions that…
crost
  • 165
  • 1
  • 13
0
votes
1 answer

Logging from Notification Service Extension

So currently I'm doing this: override func didReceive(_ request: UNNotificationRequest, withContentHandler contentHandler: @escaping (UNNotificationContent) -> Void) { logger = AnalyticsManager.shared self.contentHandler = contentHandler …
0
votes
1 answer

Identify caller ID using Call Directory Extension

I have implemented Call Directory Extension in my app to identify called id. But not able to view my apps name or caller detail, when a call is received. Not able to debug Call Directory Extension, sue to security reasons by Apple. Have included my…
ragul ml
  • 703
  • 2
  • 7
  • 18
0
votes
1 answer

How to check if Parse initialized already

So I created a Keyboard app extension that uses Parse to get some needed data. I initialized Parse after the keyboard loads like this: func connectParser() { // Initialize Parse let configuration = ParseClientConfiguration { …
0
votes
1 answer

How to add black color area to UIImage ios

I am working with image. I have a cropping functionality which only allows cropping in 2:1 ratio (width:height ratio). So if the image is in other ratio the user can zoom out and fit the image inside the cropping window but I want to add black area…
George
  • 3,600
  • 2
  • 26
  • 36
0
votes
0 answers

How can I pass data from app extension to host application and upload it Firebase?

I am using an app extension to allow users to save webpage URLs to my app so I can display them in a UITableView. I have created the action extension but I'm especially struggling with uploading the data to Firebase. I know it is not…
michaelderiso
  • 145
  • 1
  • 1
  • 12
0
votes
0 answers

FolioReaderKit throws error when used in Siri Intent extension

I am trying to use FolioReaderKit in my app extensions that I am using for Siri. It is showing me an error "'shared' is unavailable: Use view controller based solutions where appropriate instead.". I have read the apple document and it says that …
Reckoner
  • 1,041
  • 2
  • 13
  • 29
0
votes
0 answers

Track iOS App’s Mobile data and WiFi usage

I am working on a mini project to track iOS app’s mobile data and WiFi data. I saw some apps doing that through VPN , but I had no luck with NSExtentions. Any reference is appreciated. I would like to collect device level data which includes all…
0
votes
2 answers

Main App target and app's extension build number should be same?

In one app, I have 2 more extensions with their respective certificate as well as Provisioning profile. So at the time of uploading the build on App store, All three target should have the same build number or not. Please help me. Thanks in advance.
Parth
  • 634
  • 8
  • 15