Questions tagged [inputview]
120 questions
1
vote
1 answer
iOS custom keyboard has this other thing I don't want attached to it
I'm building an iPad app. I have a custom screen keyboard attached to a text field, which all works. But when it pops up, there is this other thing on top of it, containing four controls. The down-arrow on the right makes it go away, but not…

Steven T Abell
- 31
- 2
1
vote
2 answers
How to update UILabel that is a subview of inputView?
I have UITextView where user types a text. When the keyboard is shown, I add inputView with UIlabel on it. I want this UIlabel to hold character length of the text. It seems very easy task, but unfortunatelly it does not update this word counter…

Tankista
- 1,685
- 17
- 26
1
vote
1 answer
Use cupertino picker instead of keyboard while inputting a textformfield flutter
I am an ios developer who is new to Flutter. In my app, I have TextFormField, whose input type is the options give in the picker. I am struggling to show the picker view as an input view instead of the keyboard. My desired output is as follows
image…

phbp14
- 11
- 4
1
vote
0 answers
InputAccessoryView is not visible on iOS 13
In ViewController I've added InputButton. I have custom class for picking value from input view.
class InputButton: UIButton {
var customInputView: UIView = UIView()
var customInputAccessoryView: UIView = UIView()
override var…

Konrad Piękoś
- 164
- 1
- 9
1
vote
2 answers
How to set two parameters in one input-view file
I want to set two parameters in one capsule's inuput-view file. What should I do?
In my capsule, there has a function which need two parameters and these two parameters is required. When user say one case, if this case doesn't including these two…

hahayuanjun
- 11
- 1
1
vote
2 answers
Show uitextview with keypad and toolbar when editing textfield
What is the right approach to achieve what you see in the gif? It's a tableview with textfields. When you tap a textfield, a textview shows up with it's keypad. I have a tableview with a custom tableviewcell with a textfield(valueTextField). And in…

caa5042
- 166
- 3
- 16
1
vote
0 answers
How to stop iOS Custom InputView from floating around the screen
I came across a problem exactly as mentioned in the question in the link below.
How to stop my Custom Keyboard from 'floating' or being undocked on iPad
Does anyone have a solution for fixing this.
Thanks in advance.

rahul
- 393
- 1
- 4
- 20
1
vote
2 answers
iOS Keyboard Extension how to add subview under keyboard
Im making iOs Keyboard extension, now I add animation when user type something like in default iOS keyboard. Something like this:
I just move my UIButton layer upper like this:
button.layer.position.y = button.layer.position.y -…

Never_be
- 839
- 2
- 10
- 20
1
vote
1 answer
Keyboard is showing on first tap for a UITextField.inputView = UIPickerView
I couldn't find nothing respect to Swift about this matter.
I'm configuring a UIPickerView as inputView for a UITextField.
Everything is working fine, but when I tap on this specific UITextField at the fisrt time, the keyboard is showing, not the…

Felipe Boechat
- 21
- 7
1
vote
1 answer
Slide UIInputView with UIViewController like Slack
I'd like to use the UIViewController's input accessory view like this:
override func canBecomeFirstResponder() -> Bool {
return true
}
override var inputAccessoryView: UIView! {
return self.bar
}
but the issue is that I have a drawer like…

SirRupertIII
- 12,324
- 20
- 72
- 121
1
vote
1 answer
UITextField animate input view frame animated
I am developing an application that displays a custom Keyboard (similar to Messenger's) (containing images).
I have been asked to add a button that changes the frame of the keyboard with an animation. But when i set the frame it does not change at…

rokridi
- 1,565
- 2
- 11
- 20
1
vote
3 answers
How to change inputView of UISearchBar in iOS7?
In iOS6 , I use the below code to change inputView of UISearchbar
for (UIView *view in _searchBar.subviews) {
if ([view isKindOfClass: [UITextField class]]) {
UITextField* textField = (UITextField*)view;
[textField…

LE SANG
- 10,955
- 7
- 59
- 78
1
vote
1 answer
Custom InputView for UISearchBar doesn't work after tap cancel button in iOS7
In my iOS App , i need to set custom inputView for UISearchBar in iOS7.
So i wrote following codes.
NSArray *searchBarSubViews = [[self.sBar.subviews objectAtIndex:0] subviews];
for(int i =0; i<[searchBarSubViews count]; i++) {
…

Fire Fist
- 7,032
- 12
- 63
- 109
1
vote
2 answers
Custom input views: how to prevent them from fading during orientation change?
I am having trouble with assigning a UIControl subclass I made as a text field's inputView.
It shows - as expected - when the text field becomes firstResponder and hides when it resigns it firstResponder status.
However, the thing I am having…

Christian Schnorr
- 10,768
- 8
- 48
- 83
1
vote
0 answers
How to emulate the inputView behavior with a subView?
I have a tableView with prototype cells. It loads the cell data based on a chosen date. I want to have a button (UIBarButton or UIButton) that displays a datePicker with the same behavior as an inputView from a UITextField (e.g the birthday…

JSeven
- 625
- 1
- 6
- 12