Questions tagged [ios8-extension]

Refers to the extensions added in iOS 8; may include Today extensions (widgets), Share extensions, Action extensions, photo editing extensions, custom keyboard extensions, document provider extensions. For Apple Watch extensions, use [watchkit].

Refers to the extensions added in iOS 8, which may include Today extensions (widgets), Share extensions, Action extensions, photo editing extensions, custom keyboard extensions, document provider extensions.

For more information, see Apple's Extensions documentation.

199 questions
3
votes
2 answers

iOS 8 share extension doesn't work with iBooks

I try to share selected/highlighted text in iBooks with my custom extension, but it doen't have anything inside self.extensionContext - UUID: <__NSConcreteUUID 0x1765e860> D69F0393-C5F1-4DEB-9A97-B479C2BC0C95 -…
rudensm
  • 1,464
  • 1
  • 15
  • 17
3
votes
1 answer

Action Extension - Multiple NSURLSession

Im trying to upload images from the Photo app through Action Extension. I use NSURLSession to upload it in background. Here is the code i use. var configName = "com.myapp.uploadImage" var config =…
Shob-Z
  • 891
  • 6
  • 26
3
votes
0 answers

Photo Editing Extension iOS 8: enable my app to use extension of another app

I've an app which can takes pictures from camera or library. I found many tutorials of "how to create a Photo Editing Extension"... But here, I don't want to create an extension, but access, from my app, to an extension to customize a picture…
Lapinou
  • 1,467
  • 2
  • 20
  • 39
3
votes
1 answer

Mobile analytics tracking between custom keyboard + companion app

Is there a mobile analytics library for iOS that supports being used in a custom keyboard extension out of the box? Many I have looked at so far reference [UIApplication sharedApplication] which is not available in application extensions, or the…
barfoon
  • 27,481
  • 26
  • 92
  • 138
3
votes
1 answer

How do I exclude an IOS 8 app extension from a build?

I am building two versions of my app from the same code base, one for IOS 7/8 and one that is IOS 8 only. I would like to exclude the extension from the 7/8 applications but include it in the IOS 8 version. I've looked in the info.plist, the build…
Ron Barr
  • 392
  • 2
  • 13
3
votes
1 answer

Google plus sign-in for xcode share extension

I’m writing an iOS app to share web page links by email, and as part of it I want users to be able to sign in to google plus. I’ve got the containing app working fine using the instructions from…
James Burke
  • 145
  • 5
3
votes
1 answer

Sharing a Core Data stack and data between App and Extension in iOS8

I created a framework to share my data objects between the App and the extension. This includes the data model and the sqlite file with my Core Data db. I am concerned of what might happen if both App and Extension try to access this shared sqlite…
cfischer
  • 24,452
  • 37
  • 131
  • 214
3
votes
0 answers

iOS 8 Custom Keyboard Extension crashing in Adhoc Provisioning Profiles

I had made a Custom Keyboard Extension for iOS 8 its working fine on Development Provisioning Profiles but crashes in Adhoc Provisioning Profiles. Help me out to solve this issue. Incident Identifier:…
Rachit
  • 814
  • 9
  • 19
3
votes
0 answers

iOS8 : Custom Keyboard - Open Camera with AVCaptureVideoPreviewLayer in the background of keyboard

It is posible to open AVCaptureVideoPreviewLayer in the background of iOS8 Custom keyboard ? I tried with this code AVCaptureSession *session = [[AVCaptureSession alloc] init]; AVCaptureDevice *videoDevice = [AVCaptureDevice…
Jaha Rabari
  • 173
  • 8
3
votes
1 answer

How to disable App Extensions?

If I don't want the Pinterest app extension to show up in my UIActivityViewController, how can I remove it? Previously I could just add the activity type to the excludedActivityTypes array. That doesn't seem to work with app extensions.
3
votes
1 answer

How to add the project prefix file to photo extension target?

The main target typically contains a -Prefix.pch file where all the convenience imports are defined. E.g when using opencv with c++ there is #ifdef __cplusplus #import #endif #ifdef __OBJC__ #import
mnl
  • 411
  • 5
  • 16
3
votes
1 answer

Using UITextField inside a keyboard app extension

I added textfield (keyboardTextField) on top of my custom keyboard. I can select it and enter some text (using my custom keyboard). But it's impossible for me to select the input view of the main app back. This line of code [keyboardTextField…
3
votes
3 answers

Installing the app Extension to the device?

I am trying to install my application extension on my iPhone device, but I am getting the following error: This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle…
Iphone User
  • 1,930
  • 2
  • 17
  • 26
3
votes
3 answers

How to use auto layout on IOS8 Keyboard extension

Trying to make auto layout work with the keyboard extension. Initially i thought i will make the buttons programmatically but then i realized its better to do it with a xib because of my requirement and multiple screen sizes. Please see the…
KD.
  • 2,015
  • 3
  • 28
  • 59
3
votes
2 answers

Determine if the user added a Custom Keyboard to the keyboards list. iOS 8, Extension

Is there any way to determine from the containing app if the user added a custom keyboard to the keyboards list. For example, this approach uses the Fleksy and Swype apps. When the app opened from a background it knows whether the keyboard added to…