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
2 answers

Custom keyboard crashing after trying to set the text input as the title of a label in each key

I'm trying my hand at making a custom keyboard while learning Swift. In my keyboard, each key is a separate UIView with a UILabel in it. Each UILabel has a tag of 1. At first I coded each key's input manually, but I decided to optimize the code and…
cyril
  • 3,020
  • 6
  • 36
  • 61
0
votes
1 answer

iOS 8 widget, sharing data between app groups forward and backward

I've a messages app and I started to create a widget. Updating the core data with the new messages happens when user open the app. My wish is when: - (void)widgetPerformUpdateWithCompletionHandler:(void (^)(NCUpdateResult))completionHandler called…
Idan Moshe
  • 1,675
  • 4
  • 28
  • 65
0
votes
1 answer

How to enter custom font in Custom Keyboard as input

I am trying to use a font named "KarenThewin". I have added this font the keyboard keys and now i want to extract the displayed key. The character Array : #define kChar @[ @"n", @"0", @"=J", @"&", @"w", @",", @"=k", @"=X", @"=D", @"y", @"=g", @"q",…
vinay chorpa
  • 187
  • 3
  • 16
0
votes
1 answer

Qwerty Azerty in custom keyboard ios swift

Is it possible to Add Qwerty and Azerty in custom keyboard for iOS I have a file DefaultKeyboard.swift and i tried to add anything like AzertyKeyboard.swift Thank you on avance
Eliott
  • 9
  • 2
0
votes
1 answer

Unable to remove Share Extension from project ,it still appear in Safari

I am testing to integrate share extension to my existing app. By adding it via File>New>Target>Share Extensions But when I removed it whether by reset my git to previous commit or delete it from project. The share extension option still appear in…
Kong Hantrakool
  • 1,865
  • 3
  • 20
  • 35
0
votes
1 answer

Using Custom Keyboard in iOS app

Can I use custom keyboard in all my app by creating a single custom keyboard as a static library? Eg: I want to create a custom keyboard and use it in my app A, B and C. How do I do it? Thanks
Smitha
  • 6,110
  • 24
  • 90
  • 161
0
votes
1 answer

textDocumentProxy insertText is not working in custom keyboard extension

I am trying to user textDocumentProxy to insert some texts from another view controller which presented from UIInputViewController. I am using NSNotificationCenter to post "SendText" notification, and the KeyboardViewController addObserver to this…
yong ho
  • 3,892
  • 9
  • 40
  • 81
0
votes
1 answer

iOS8 keyboard extension and "Background Activity"

I'm currently beta testing a keyboard for iOS8, and my users have reported that the keyboard shows up as a "Background Activity" in the battery usage section. What could be the cause of it? When the keyboard is not in use, I see 0% cpu usage when…
kamziro
  • 7,882
  • 9
  • 55
  • 78
0
votes
1 answer

iOS custom keyboard - preserve state between appearances

I'm having some performance problems with a custom keyboard I'm working on. Loading all the words in the spell correction tree takes quite a bit of time. This seems to be done each time the keyboard appears - is there any way to preserve the state…
Malakim
  • 1,333
  • 2
  • 18
  • 34
0
votes
1 answer

Music player controls in iOS 8 today widget

I'm trying to implement a sample iOS 8 today widget that includes a music player controls, the app is a basic music app with background-audio enabled. I looked a lot around to find a way for notifying containing app, but I didn't find any!. The…
0
votes
1 answer

Why is textInput.keyboardType nil in textDidChange?

I'm developing a custom keyboard in Swift and I would like to know when the keyboard type changes (to a number or decimal keyboard type for example). I believe this should be done in either textDidChange or textWillChange. This method receives a…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
0
votes
3 answers

How to get host's app object from app extension?

I have a custom keyboard extension. And I need to know when my keyboard is shown/hidden. I read this article, this block: - (void)registerForKeyboardNotifications { [[NSNotificationCenter defaultCenter] addObserver:self …
veitr
  • 111
  • 10
0
votes
1 answer

Stop receiving when keyboard is hidden

I have a custom keyboard extension and its containing app. After launching, containing app send to my extension a number every 2 seconds. I catch it and output to the text field. But I have a problem. When extension keyboard appears on a screen - it…
veitr
  • 111
  • 10
0
votes
1 answer

Unable to add a TTF font for Photo Editing Extension

I am attempting to make a TTF font file available to my main application and also in my photo editing extension. But the font isn't found when I attempt to access it by name in the extension, although it works in the main app. I've selected the TTF…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
0
votes
1 answer

iOS8 Keyboard Extension get current context

how can I get the current text input state to toggle between email field, browser url field or text field. I want to display @ signs, open button or enter button depending on the current state. I searches and tried for days but could not find…
zeiteisen
  • 7,078
  • 5
  • 50
  • 68