Questions tagged [uiinputviewcontroller]
62 questions
43
votes
10 answers
How to detect Orientation Change in Custom Keyboard Extension in iOS 8?
In Custom Keyboard Extension , we can't use
`didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation`
and sharedApplication.
I need to detect portrait or landscape in keyboard when rotate.
How can i detect when…

Fire Fist
- 7,032
- 12
- 63
- 109
17
votes
5 answers
Get full string in iOS8 Custom Keyboard Extension
I'm creating a Custom Keyboard Extension for iOS 8.
I want to get the whole string that the user wrote in the text input field.
Unfortunately I stumble in to two main problems:
1) I get null in this callback:
-…

nurnachman
- 4,468
- 2
- 37
- 40
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…

virindh
- 3,775
- 3
- 24
- 49
11
votes
4 answers
Unable to change UIInputView height
I have a simple UIInputViewController subclass with only two overridden methods. I use this input view controller as inputAccessoryViewController on my UIViewController subclass which becomes first responder. I try to specify height of inputView by…

hybridcattt
- 3,001
- 20
- 37
8
votes
1 answer
Swift Must call a designated initializer of the superclass uiinputviewcontroller
I get the error in the subject after this morning's upgrade to 8.3.
The code below used to work perfectly, however it doesn't compile anymore. Can any of you please help me?
protocol CustomAccessoryProtocol {
func…

Razvan Soneriu
- 587
- 3
- 7
- 23
7
votes
0 answers
How can i set custom inputviewcontroller / inputView for WKWebView?
Is there any way of customizing inputView when editing a WKWebView? It doesn't have the set inputView as UITextView has, but an alternative may be to just load a custom inputViewController (custom keyboard) for the whole app. I haven't found a way…

bogen
- 9,954
- 9
- 50
- 89
7
votes
2 answers
Remove Next / Previous buttons (inputAccessoryView) for Custom Keyboard in iOS8 WebView
Please bear with me, I searched a lot over the internet and I couldn't find a solution since it's a new API.
I am trying to create a custom keyboard for iOS 8. It works perfectly fine except in WebView!
It has previous-next button, which are in…

Hamid
- 2,852
- 1
- 28
- 45
7
votes
3 answers
Return Key method in UIInputViewController in iOS8?
I am developing custom keyboard with keyboard extension in iOS8.
I can dismiss keyboard with following method.
[self dismissKeyboard];
However above method is only dismiss keyboard. I want to do it like return Method that can like GO or Search that…

Fire Fist
- 7,032
- 12
- 63
- 109
6
votes
2 answers
Custom Input View in Swift
I've spent hours trying to figure out how to create/then get a custom inputView to work.
I have a grid of TextInputs (think scrabble board) that when pressed should load a custom inputView to insert text.
I've created a .xib file containing the UI…

codycoats
- 77
- 1
- 7
5
votes
0 answers
Resize custom UIInputViewController in iOS 9 using nib
In my App I'm using a custom keyboard. Not the kind of app extension that requires users to install the keyboard and then be able to use it anywhere - Just in my app.
To do this, I have created a subclass of UIInputViewController and set my keyboard…

Joris416
- 4,751
- 5
- 32
- 59
5
votes
1 answer
Custom keyboard appears with ~5seconds delay
I'm making custom keyboard with obj-c, Xcode 7 (tried 6 too). The issue is that keyboard is loading too slow.
I tried to load completely empty UIInputViewController's view - no changes. I have no xibs, no heavy resources. Please if someone know any…

Rost
- 265
- 1
- 11
5
votes
1 answer
How to restore UIInputViewController self.view after dismissing the keyboard?
I'm developing an application that has an Keyboard extension, At some uses of the Keyboard extension (for example: when I use the switch keyboard button) the extension is going through the viewDidDisappear and at this case I know I can clean the…

Emil Adz
- 40,709
- 36
- 140
- 187
5
votes
2 answers
Drawing outside UIInputViewController frame
Intro: I'm developing a keyboard extension for my native Armenian language.
The keyboard's features should look like maximum similar to system default keyboard.
One of the features I want to have inside my keyboard is to display Pop-ups on top of…

deimus
- 9,565
- 12
- 63
- 107
4
votes
0 answers
UIInputViewController NSAutoresizingMaskLayoutConstraint issue
I keep trying to implement input accessory VC in my app and I faced with the following issue. When I'm trying to modify the height of the root view of my custom UIInputViewController it's working well despite the one problem. The problem is that in…

Dmitriy Stupivtsev
- 832
- 1
- 8
- 17
4
votes
0 answers
iOS 8 Keyboard Extension: UIInputViewController textDocumentProxy connection invalidated
On an iOS 8 keyboard extension, I have added a UITextField so the user is enabled to search for emoji or other elements inside the keyboard.
In a case where a user is typing, for instance in the Notes.app, the user taps the search field on the…

hotdogsoup.nl
- 1,078
- 1
- 9
- 22