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
1
vote
4 answers

Today Extension not working

I have some issues in Today Extensions on iOS8. I tried debugging using the Xcode Debugger and by putting nslogs. There is no logic in my code as well. For some reason: The widget is not displaying any data (its only working for Hello World…
Karthik
  • 934
  • 9
  • 21
1
vote
2 answers

Calling an extension from the host app

So I'm writing an app to demo a share extension that I've written, but I'm not quite sure how to display the extension menu like in the photos app. I have this code which I got off the reference website, but it's not displaying…
1
vote
2 answers

Extension for Safari IOS 8

I am working on extension for safari.I have checked we can communicate between host app and extension as we can run extension or close extension.But in my case I want to communicate with host app without closing extension app. var…
Shinning River
  • 813
  • 1
  • 10
  • 23
1
vote
3 answers

iOS 8: options for presenting Action Extensions to users?

After reading the Apple documentation on extensions, it's not clear how Action Extensions get presented to users. The docs mention the Bing translate use case where actions are presented after users tap the Share button. But what if an app, say a…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
0
votes
1 answer

Unable to run app with app Extension Embedded binary is not signed with the same certificate as the parent app

I am getting below error when added BroadCastExtension to my app. I am using this BroadCastExtension for screen share. Embedded binary is not signed with the same certificate as the parent app. Verify the embedded binary target's code sign settings…
jayprakash
  • 75
  • 9
0
votes
0 answers

RPSystemBroadcastPickerView not showing preferredExtension

I use RPSystemBroadcastPickerView to show user list of broadcast service. let broadcastPickerView = RPSystemBroadcastPickerView(frame: CGRect(x: 0, y: 0, width: 51, height:…
0
votes
0 answers

urls with apostrophe character (') are not loading in swifttags dedyo swift, xcode, swift5

When i tried to load a url like "https://www.example.com/page/name%E2%80%99test54" with apostrophe character nothing happened. I tried to load the url like other urls that were loading and expected that it will work, But it did not, So I am looking…
0
votes
0 answers

URLSessionWebSocketTask failing on iOS iMessage extension; working fine in regular app

I'm using the URLSessionWebSocketTask to open up and transact with a web socket API. This is working fine in my regular iOS app, however, as soon as I open and try to resume the websocket connection in the iOS app extension, I am getting the…
0
votes
0 answers

How could I print to console in Share Extensions

I am trying to use print in my Share Extension, I tried several method: print, NSLog, os_log, Logger.log but none of them work. I have successfully attached to the process in Xcode and the breakpoints in this file work, but couldn't see any print…
0
votes
0 answers

Debugging Ios App Extension in Flutter app

I am writing a flutter application, but I needed to write a ios application extension in the native part. I think there might be a bug and I'm debugging this target. I selected the extension I needed as a target for launching, made a debug scheme…
0
votes
0 answers

How to change from command line the Bundle identifier of an App extension?

I have an app extension that I want to use in several projects that all have different bundle identifiers. The problem is that App extension bundle identifiers must have a prefix consisting of their containing application's bundle identifier…
zeus
  • 12,173
  • 9
  • 63
  • 184
0
votes
1 answer

Cannot InsertText with Message App Extension

I'm creating a Message App Extension in Xamarin and am getting a NSException error when trying to InsertText from the MessagesViewController. I do not see error messages when building, just when this InsertText code is executed. Appreciate your…
0
votes
0 answers

Is it applicable to authenticate using faceID inside app extension?

I am implementing share app extension and I need to use FaceID before uploading the items. I tried but I got the error below. [Error Domain=com.apple.LocalAuthentication Code=-1004 "Caller is not running foreground."…
Moataz Hossam
  • 413
  • 7
  • 20
0
votes
0 answers

File sharing between main app and share extension works on simulator but fails on device

I developed an app with a share extension, and want to receive files shared from other apps by the share extension. It works fine on simulator, but get an error like below if I read the shared data (using Data(contentsOf: url)) when runs on…
user36987
  • 1
  • 1
0
votes
1 answer

Getting an error "attempt to insert row 4 into section 1, but there are only 4 rows in section 1 after the update" while drop and drag

I'm trying to implement drop and drag, but getting an error: attempt to insert row 4 into section 1, but there are only 4 rows in section 1 after the update I get this error, when try to drop item from Reminder to my tableView. I have this code im…
Mikl.hart
  • 37
  • 8