Questions tagged [inputview]

120 questions
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

How to remove the gray layer under inputView in iOS 7.1

Ok, here is how my app used to look like in iOS 7.0: Now in iOS 7.1 for some reason it looks like this: As you can see instead of white blurred background (the greeninsh thing is actually a green UITextField underneath) it is now gray blurred…
AXE
  • 8,335
  • 6
  • 25
  • 32
7
votes
0 answers

Custom Input View (Split Keyboard)

I created a custom input view for iPhone, and decided to transition it to work on iPad also. I wanted to make it display like a split keyboard, as it only has a few keys. The problem is, the iPad builds in Undocking of keyboards in the current…
jadengeller
  • 1,307
  • 1
  • 14
  • 26
6
votes
5 answers

How can I set height of custom inputView?

I have a UITextField where I set the inputView to a custom view. This has a standard height of 216. I would like to set this to something like 300, or half the screen. Using constraints is not an option, as it conflicts with the default 216 and it…
vrwim
  • 13,020
  • 13
  • 63
  • 118
6
votes
2 answers

Changing height of a custom inputView when device rotates

I made a custom keyboard view and linked it to the inputView property of a UITextField. Is there a way to change the height of a custom inputView when orientation changes and have the frame change animated smoothly just like the system keyboard? My…
user1477781
  • 89
  • 1
  • 4
5
votes
0 answers

UIScrollView keyboard dismiss on drag doesn't call resignFirstResponder on UIView with custom inputView keyboard on iOS 11

I have a UIView which draws a signature. The signature is inputed via a custom inputView on the signature view. When drawing the signature view, I use the fact that it's the first responder to highlight the view as being edited, and I also override…
Mof
  • 363
  • 3
  • 9
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

UITextField inputView not showing in iPhone 6

I have a weird bug which only happens in iPhone 6 simulator in Xcode 6. I have a generic component which extends UITextField and shows a pickerView as inputView at the bottom of screen. If I use iPhone5 or iPhone5s to test my application, it's…
serdar
  • 570
  • 5
  • 15
5
votes
1 answer

iOS: Customise UITextField's inputView size

I need to customise the size of UITextField's inputView. My custom view that is assigned to inputView is already a size of 260x220 but still inputView appears as 260x768(Portrait) and 260x1024(Landscap). I tried changing inputView's Frame but still…
Paresh Masani
  • 7,474
  • 12
  • 73
  • 139
5
votes
2 answers

ios adding custom inputView

I'm stuck on a concept in iOS that I can't seem to understand, no matter how much I read about it. I'm trying to override the standard iOS number pad with a custom design. When the user touches the UITextField, I want the custom inputView to…
Marc
  • 1,470
  • 2
  • 16
  • 25
4
votes
1 answer

Custom keyboard with editable UIWebView?

Is is possible to use a custom keyboard with editable UIWebView for rich text editing (by setting inputView property, like on UITextView)? It tried subclassing UIWebView and setting the inputView property to readwrite, but this doesn't seem to make…
4
votes
0 answers

How UITextInputAssistantItem works with custom inputView in iOS 13?

I have a view controller with one textfield, I am using inputAssistantItem of the textfield to a button for each group (leading and trailing) for the keyboard shortcuts bar, simply as: class MyViewController: UIViewController { @IBOutlet weak…
Ahmad F
  • 30,560
  • 17
  • 97
  • 143
4
votes
1 answer

Load a nib file to act as a custom keyboard when a UITextField is tapped

I'm trying to load a .xib file to act as a custom keyboard when a textField is tapped. I'm able to show the .xib file (view) when the textField is tapped but I'm not sure how to communicate the buttons in the .xib file with the a textField in the…
fs_tigre
  • 10,650
  • 13
  • 73
  • 146
4
votes
0 answers

Custom input view as keyboard for textfield in Swift using OSX 10.9 and Xcode 6.1.1 +

I am having trouble with connecting buttons after I load a custom input view keyboard. My main screens are storyboard and my custom view is a xib. The input view is a nib with the file owner pointing to its swift class. I am loading the input view…
SeeBenClick
  • 111
  • 1
  • 6
4
votes
1 answer

iOS 8 broke UIPickerView in UIActionSheet

I was presenting a picker in UIActionSheet very simply up until iOS 8. Now, it seems they have broken that capability with the latest update. It was never supported and the practice was discouraged in the docs all along. Presumably the entire…