Questions tagged [inputview]
120 questions
0
votes
2 answers
Using UIPickerView as inputView of a custom UIView
I need guidance because it seems like I've misunderstood some concepts.
All I'd like to achieve is to have a UIPickerView as the inputView of a UITextField. It's easily done by self.textField.inputView = self.pickerView. The problem with this is…

Zoltán
- 1,422
- 17
- 22
0
votes
1 answer
Animate input view & input accessory view of UITextView in iOS 7
UITextView's inputView and inputAccessoryView are very cool!
Right now I'm using the inputView to replace the keyboard when the user requests it. The docs say that after changing the inputView or the inputAccessoryView we have to call…

Alex
- 5,009
- 3
- 39
- 73
0
votes
3 answers
Objective C Subclass UITextField to copy only
I'm trying to create a class that makes a read only text field that allows the user to copy its contents. Here is my code:
CopyOnly.h
#import
@interface CopyOnly : UITextField
@end
CopyOnly.m
#import "CopyOnly.h"
@implementation…

Jared Price
- 5,217
- 7
- 44
- 74
0
votes
1 answer
UIInputView not working as expected
This might be a bug in iOS7..? When I add the accessoryview I use the following code in viewDidLoad:
UIView *inputAccView = [[UIInputView alloc] initWithFrame:CGRectMake(0, 0.0, 320, 50) inputViewStyle:UIInputViewStyleKeyboard];
That works as…

Daniel Åkesson
- 1,330
- 1
- 12
- 21
0
votes
2 answers
becomeFirstResponder is triggering UIKeyboardDidHideNotification
One goal of my app is to manage multiple custom input views (from nibs) along with the regular system keyboard. One or the other will always be present. (In the example code I am only managing a single nib + the system keyboard).
When swapping out…

Electro-Bunny
- 1,380
- 2
- 12
- 33
0
votes
1 answer
Custom Input view using Storyboard
I need to create a custom input view which will appear if i tap on a textfield.I have gone through apple documentation,but i felt it unclear,I am using storyboard also.How to achieve this using storyboards?
I have also gone through similar questions…

Suraj K Thomas
- 5,773
- 4
- 52
- 64
0
votes
2 answers
How can I get custom Text View's inputView?
I use EGOTextView to show some Attributed string like emotion (not emoji), because system's UITextView or UITextField can not show image with text.
But I cannot get the inputView with EGOTextView, How can I get it? Thanks.

ZhouQi
- 531
- 1
- 6
- 16
0
votes
0 answers
Custom inputView of UITextField doesn't work
I want to set a custom view to the inputView property of a UITextField. (Basically because I want to add a UILabel to the selectionIndicator of a UIPickerView and I couldn't find an easier way...) If I set a UIPickerView as the inputView, everything…

AL3XGL355
- 1
- 1
0
votes
1 answer
iOS UITextField custom keyboard
I've a custom keyboard view on my app positioned at the bottom of my screen, it's based on Fabrizio Prosperi's FPNumberPadView.
I also have a couple of UITextFields, I want this keyboard to ALWAYS be on screen, whether a textfield has the focus or…

David Homes
- 2,725
- 8
- 33
- 53
0
votes
1 answer
UITextField in aUIScrollView - inputView doesn't work
I have a UItextField in a UIScrollView. I assigned an inputView (a picker) on my UITextField but it doesn't work. When I click on my textfield, I get the keyboard instead of a picker. When I delete the UIScrollView it works well (I get the picker).…

tchike
- 154
- 4
- 21
0
votes
2 answers
UIView inputView slide animation
I've got UIView (implementing UIKeyInput) with custom inputView. I want to display this inputView as soon as whole view is visible, however there's slide animation after it's becoming first responder. Can I disable this animation and show inputView…

Piotr
- 1,743
- 1
- 26
- 40
0
votes
1 answer
Custom inputView not animating correctly during modal presentation
I start by presenting a viewController modally, using the default animation where the view appears from bottom to top. In viewWillAppear, I give first responder to a text field that has a custom keyboard as its inputView. When the view animates for…

Garrett Disco
- 670
- 1
- 9
- 27
0
votes
1 answer
UITextField to show UIPickerView in xcode 4.3.2 using textField.inputView
I'm looking to have a UITextField display a UIPickerView when touched. I found quite a few questions on the same topic that say to use UITextField.inputView. However, when I try, nothing changes.
I have a very simple…

ChromeBlue
- 11
- 2
0
votes
1 answer
Not able to populate PickerView with my string
I am using the inputView to display a pickerView when a a textfield is clicked. I then want to populate the pickerview with the numbers 1-100. I have some code that I thought would work, but when i run the program and click on the textField, it…

user1450221
- 109
- 2
- 12
-1
votes
1 answer
Custom InputView Keyboard Height
I have made a custom keyboard using a .xib and .swift file. I set it for a textfield by doing the following:
let customNumberPad = CustomNumberPad()
length.inputView = customNumberPad.inputView
However, the size of the keyboard area is large like…

WillM00
- 1
- 1