Questions tagged [uiinputviewcontroller]

62 questions
0
votes
2 answers

Custom keyboard: get notified when text updates

Is there a method in UIInputViewController when the text that the custom keyboard is modifying updates? textWillChange/textDidChange only notify me about cursor movement.
Foobar
  • 7,458
  • 16
  • 81
  • 161
0
votes
1 answer

Custom inputView performing. Custom inputView doesn't appear unless default keyboard is opened

I have a problem that I cannot perform custom inputView unless keyboard is opened. I have 2 UITextField one of them has custom inputView. Let's call them tf1 and tf2. tf2 has custom inputView. if I tap tf2 first nothing happening. If I tap tf1 first…
letitbefornow
  • 427
  • 6
  • 20
0
votes
0 answers

UIButton inside a custom input view doesn't invoke any methods

I created a custom input view with a couple of UIButtons inside it. All these buttons invoke one single IBAction. The IBAction is not called although I'am 100% sure I set them properly in IB. To prove that this isn't causing the problem I added a…
Peter Combee
  • 595
  • 4
  • 10
0
votes
1 answer

Invalid capability and invalid name with custom keyboard

I've designed a custom keyboard for the use of my own application only. That's why in fact, I didn't use UIInputViewController but only UIViewController (and set a delegate to the custom text field which is actually a subclassed UIScrollView). When…
borchero
  • 5,562
  • 8
  • 46
  • 72
0
votes
1 answer

Swift - Custom inputView for text field with IB?

I've been trying to figure this out all day and I feel completely lost. I have a text field that I'd like to be able to edit using a customized inputView. (For example, a custom inputView that contains a UIDatePicker with a "done" button to dismiss…
spwoco
  • 83
  • 5
0
votes
0 answers

In Swift, NSDictionary(contentOfFile:) sometimes returns nil

I'm developing iOS Keyboard Extension, and I load some data of keyboards from plist file. My version is iOS 8.4/Xcode 6.4. But sometimes(not everytime), when in viewdidload of InputViewController, NSDictionary(contentsOfFile:) returns nil. It…
Jeonghan Joo
  • 225
  • 2
  • 10
0
votes
1 answer

How to test if User has changed UITextInput?

I'm developing a custom keyboard for iOS, using the UIInputViewController I have implemented the following methods: textWillChange, textDidChange. I want to know when user changes the current text field and moves to another one in order to configure…
Emil Adz
  • 40,709
  • 36
  • 140
  • 187
0
votes
1 answer

UIInputViewController - Disable Keys Based on User Input in Container App

So, let's say I have a container app and an extension to that app for a custom keyboard. Let's say that custom keyboard has, by default 5 keys. Doesn't matter what those keys are. Now, I want the user to be able to DISABLE any of the 5 keys in the…
Four
  • 406
  • 4
  • 13
0
votes
0 answers

Can I use PFquery in UIInputviewcontroller, which is class for the keyboard extension

I built a bottom, which generates a PFquery,in the keyboard view; and then insert this queried string in to the textfield by [self.textDocumentProxy insertText: str]. However, when ever I click this button, the keyboard while jump to the next…
xpeng
  • 23
  • 4
0
votes
0 answers

UIInputViewController won't load array from plist

I am trying to have one of the buttons on my custom keyboard load from a plist that the app fetches from a url. I cannot get the plist array to load when the keyboard loads so it can read the text when the keyboard view loads. // // …
Jason P.
  • 399
  • 1
  • 11
0
votes
1 answer

Cannot activate ios8 custom keyboard on actual device

I have designed a custom keyboard for iOS8 and it's working perfectly fine on the simulator but when I connect my iPad to Xcode to have the app on my device, it doesn't show my custom keyboard under the keyboards list. What am I doing wrong? The…
Hamid
  • 2,852
  • 1
  • 28
  • 45
0
votes
1 answer

custom keyboard UITextField inputView xcode

I am adding a custom keyboard to a view using inputView linked to a UITextField. I have set the size at Width 216, Height 320. I have it entering from the bottom on a portrait orientation. I want it to only cover 216 pixels of the screen but now…
user1114881
  • 731
  • 1
  • 12
  • 25
0
votes
1 answer

Text field stays under the custom keyboard in UIWebView for iOS 8

I'm creating a web App for iOS and I have a custom keyboard. When I use the default keyboard, it immediately shows the keyboard and the text field is above the keyboard. I would have the same result if I change the keyboard to my custom keyboard.…
0
votes
2 answers

UIAlertView crash on UIInputViewController

I am working with Xcode 6.0 and swift. UIAlertView and UIAlertController (example:following 2 functions) work fine on myViewController inherited from UIViewController, but they crash on KeyboardViewController inherited from UIInputViewController.…
fred
  • 1
  • 1
0
votes
1 answer

How to reload UIInputViewController in iOS8 Keyboard Extension?

I need to reload my custom keyboard in iOS8 Custom Keyboard Extension. I have color preferences that can change keyboard background color. [self reloadInputView]; Above codes is doesn't work and not reload. So how can i reload UIInputViewController…
Fire Fist
  • 7,032
  • 12
  • 63
  • 109