Questions tagged [inputview]
120 questions
4
votes
3 answers
UITextField with inputView doesn't work in some iOS 8 simulators
Using Xcode 6 with iOS 8 SDK and the minimum supported as iOS 7.
This code does not work on iPhone 5s 8.0, iPhone 6, iPhone 6 Plus, but it does work on iPhone 5 8.0 and iPhone 4s 8.0.
It has one text field. The text field has an inputView and…

Jason Hocker
- 6,879
- 9
- 46
- 79
4
votes
0 answers
iOS custom keyboard accents
I want to make a custom keyboard. Some characters have multiple options (like in the picture). What is the best approach to emulate this behaviour?
I tried adding a subview on top of the custom keyboard view, but that is not responding to any…

user965972
- 2,489
- 2
- 23
- 39
4
votes
0 answers
How to make custom keyboard undock-able?
As of iOS 5, iPad keyboard can undock/split.
But my custom keyboard can not undock when my app is first launched. Only after, say, an alert view is shown and dismissed, the keyboard becomes undock-able.
I made a test project based on the Single View…

Ding Curie
- 147
- 7
3
votes
0 answers
How do I use an inputView with a SwiftUI TextField?
So I've started to learn Swift and made the decision to write my first app using SwiftUI. I would like to use a custom in-app keyboard (another SwiftUI view) to make my app easier to use. But I can't figure out how to do this as i'm a noob and…

naz
- 31
- 1
3
votes
2 answers
UISearchBar with InputView
I'm making custom keyboard for my app and it's working fine with UITextField. But UISearchBar don't support inputView
- (UIView *)inputView {
if(self.keyboard==nil)
{
self.keyboard=[[[MMKeyboard alloc] initWithNibName:@"MMKeyboard"…

saturngod
- 24,649
- 17
- 62
- 87
3
votes
1 answer
Transparent space between UITextField Input View and Accessary View
I have tool bar as input accessary view and datepicker as input view for my date textfield.
Hotel booking label is behind that datepicker. When I touch on date textfield, It shows both input view and accessary view as I need. But what is the…

Mani murugan
- 1,792
- 2
- 17
- 32
3
votes
0 answers
UIVisualEffectView as input view for textfield in Xcode
I want to program a custom view as the input view for a textfield. This custom keyboard is a UIVisualEffectView with a blur effect, but when the keyboard shows up, the background isn't transparent, it's opaque.
When I add the keyboard as a subview…

Josef Büttgen
- 131
- 2
- 12
3
votes
2 answers
iOS8 - UIView inputView disappears after app resume
I have this issue only for iOS8. Everything works properly on iOS7.
My view configuration:
I have a UIView subclass that has a custom inputView (a custom keyboard)
The UIView subclass has a tap gesture recognizer, which makes it become the first…

jeremywhuff
- 2,911
- 3
- 29
- 33
3
votes
1 answer
Custom InputView for UISearchBar doesn't work in iOS7
I need to set my custom inputView in UISearchBar.
So i wrote following codes , that is working perfectly in iOS5 and iOS6 .
However it doesn't work in iOS7.
for(int i =0; i<[self.searchBar.subviews count]; i++) {
…

Fire Fist
- 7,032
- 12
- 63
- 109
3
votes
2 answers
UIPickerView as inputView not hiding on iPad
I have added UIPickerView as inputView to UITextField in my app. It works perfectly on iPhone, but when I run the same code on iPad, my pickerView does not hide on clicking done button.
Some code:
picker = [[UIPickerView alloc]…

Crazy Yoghurt
- 2,365
- 2
- 26
- 37
3
votes
2 answers
Disable Keyboard for UITextfield
I'm wondering how to disable the inputview of a UITextfield. Setting textField.inputView = nil; or [textField setInputView:nil] in ShouldBeginEditing doesn't do anything, and using the userInteraction property removes the ability to interact with…

DOLOisSOLO
- 141
- 1
- 1
- 12
3
votes
2 answers
How can I program more than one UIPickerView in the same View?
I am using textFields inputView property to display UIPickerViews instead of the keyboard. The way I have it programmed, I do not declare the PickerViews in the .H file, or connect them in the view in interface builder. When I implement the…

user1450221
- 109
- 2
- 12
3
votes
1 answer
Make custom keyboard non-movable
We created a custom numeric keypad for iPad. On our testers iPad this keyboard was suddenly moved out of place and it took us quite a while to figure out that it is possible to move that custom keyboard by start dragging at the location where the…

manuel
- 252
- 1
- 9
2
votes
3 answers
Preventing direct typing into a UITextField when using an inputView to show a UIPicker on iPhone
I have code working very nicely to show a picker on a UITextField object (in a UITableViewCell) by using the inputView of the UITextField object. This stops the keyboard being shown but does not stop someone directly typing into the field.
To be…

user1048028
- 21
- 2
2
votes
2 answers
UIPickerView as inputView gets messed up on orientation change
I'm using a standard UIPicker view as an inputView for a textField in an iPhone application. When the view is loaded in either landscape or portrait, the picker is sized the same as the appropriate keyboard. However, when you rotate the device once…

Dash
- 17,188
- 6
- 48
- 49