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

How to detect from iOS keyboard extension that a textfield is cleared via actions like hitting "Send" in iMessage?

In my iOS keyboard app, I currently have a text suggestions bar much like the default iOS 8 Keyboard's suggestion bar. I would like to clear all text on the suggestion bar whenever the user does something that clears the text field (for example,…
daspianist
  • 5,336
  • 8
  • 50
  • 94
11
votes
2 answers

Display fullscreen view controller from UIInputViewController

I'm currently building a custom keyboard for iOS 8 though extensions. When the user presses a certain button on the keyboard view, I want to present a full screen modal view controller. When I try to present the view controller, it tries to present…
11
votes
4 answers

When i run app extension(Widget) in device.I got this error App installation failed

This application or a bundle it contains has the same bundle identifier as this application or another bundle that it contains. Bundle identifiers must be unique.
SAS Sudalaiyandi
  • 237
  • 1
  • 3
  • 11
11
votes
1 answer

Using UILexicon to implement autocorrect in iOS 8 Keyboard Extension

I've seen that this question has been asked a few times, but no one seems to have an answer. I am trying to create an autocorrect feature on a custom keyboard, but I am completely lost as to how to do so. Apple gives some documentation, but it's not…
SomeGuy
  • 3,725
  • 3
  • 19
  • 23
10
votes
2 answers

Retrieve ALAsset or PHAsset from file URL

Selecting images in Photos.app to pass to an action extension seems to yield paths to images on disk (e.g.: file:///var/mobile/Media/DCIM/109APPLE/IMG_9417.JPG). Is there a way to get the corresponding ALAsset or PHAsset? The URL looks like it…
Duc
  • 487
  • 1
  • 7
  • 15
9
votes
4 answers

iOS 8 Today widget alignment issue

Here is my storyboard I'm using autolayout, and NOT using size classes. When I ran it on iPhone 5s, it works fine.(both portrait and landscape) But when I ran it on iPhone 6 plus (portrait), it's not aligning properly. on iPhone 6 plus…
Keoros
  • 1,337
  • 2
  • 13
  • 23
8
votes
1 answer

Multiple keyboard layouts in an iOS keyboard extension

I'm currently working on a keyboard extension for iOS, and am now wondering how to integrate multiple layouts support into the system settings. In the system settings, the default en_US keyboard has an additional menu (indicated by a arrow to the…
s3lph
  • 4,575
  • 4
  • 21
  • 38
8
votes
1 answer

Function didSelectPost() not called - iOS Share Extension

I added share extension to my iOS app project on XCode. but when I choose one photo, and choose my extension to share it, the didSelectPost() function of my ShareViewController is never called! for testing that, I juste put a breakpoint on it and…
profskz
  • 209
  • 1
  • 4
  • 10
8
votes
1 answer

NSInvalidUnarchiveOperationException cannot decode object error in Apple Watch extension

I've got a user object that I need to store in NSUserDefaults and share with an iOS 8 extension app (Watchkit). In the main container app, I can encode and decode the object without any problem. However, when I try to retrieve the stored user object…
8
votes
3 answers

iOS 8 : Keyboard Extension. Issue with adding pop up of keys

I am building my Keyboard Extension app and i have added key pop animation on button when user tap on it. It works fine for inside image but for top row image pop up area become hidden as it clip the subview. I tried with ClipToBound property and…
Muzammil
  • 1,529
  • 1
  • 15
  • 24
8
votes
3 answers

Custom KeyBoard get terminated due to memory pressure in iOS 8

Custom KeyBoard get terminated due to memory pressure in iOS 8 Initially my custom keyboard is taking around 25mb of memory, but this memory is not deallocated with I dissmiss the keyboard. Memory keep on increase when we open custom keyboard again…
Rachit
  • 814
  • 9
  • 19
7
votes
0 answers

How can I sign in with the Google SignIn SDK in a sharing extension?

I have successfully signed in using the Google Sign-In SDK for iOS in my main app. However when I call hasAuthIKeyChain() from my sharing extension, it always returns false. Ideally, once the user has authenticated in the main app, I would like to…
Andy
  • 30,088
  • 6
  • 78
  • 89
7
votes
1 answer

iOS 8 Share Extension not working on device

I have creat a new target Share Extension in xcode , then I run it on my device. I don't know why when I run my Share Extension on my devices (iPhone 5c, iPhone 5s, iPhone 6) the won't show. Pls help me! Any suggestions on how to fix this would be…
Lê Trinh
  • 327
  • 3
  • 11
7
votes
3 answers

"Unable to Load" message in Today's Widget

I'm in between with my widget development. As we have already placed our app with widget integration. But in now a days, I'm facing problem with today's widget in iOS. I've written a code for two cases. First time when widget is initially loading…
7
votes
3 answers

How to handle memory constraints in iOS 8 Photo Extensions?

I added a new iOS 8 Photo Extension to my existing photo editing app. My app has quite a complex filter pipeline and needs to keep multiple textures in memory at a time. However, on devices with 1 GB RAM I'm easily able to process 8 MP images. In…
Frank Rupprecht
  • 9,191
  • 31
  • 56
1
2
3
13 14