Wrong View Height when using inputAccessoryView with External (blue tuth) keyboard
NickName:Nikunj Ask DateTime:2013-08-31T18:20:56

Wrong View Height when using inputAccessoryView with External (blue tuth) keyboard

In my application i have set inputAccessoryView to the textfield.

While i use Bluetooth keyboard it's giving me wrong height of view, Its subtracting device's keyboard height from the total iPad height 1024 in spite of keyboard is not displayed in device, as Bluetooth keyboard is ON.

If I don't set inputAccessoryView Or set it nil than it's working fine and giving me correct height 1024 of the view.

can one guide me please where i am wrong or if anything missing ?

Thanks.

Copyright Notice:Content Author:「Nikunj」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/18547052/wrong-view-height-when-using-inputaccessoryview-with-external-blue-tuth-keyboa

More about “Wrong View Height when using inputAccessoryView with External (blue tuth) keyboard” related questions

Wrong View Height when using inputAccessoryView with External (blue tuth) keyboard

In my application i have set inputAccessoryView to the textfield. While i use Bluetooth keyboard it's giving me wrong height of view, Its subtracting device's keyboard height from the total iPad h...

Show Detail

Hide inputAccessoryView if hardware keyboard is connected

Similar to this question: iPad: Detecting External Keyboard, I am developing an iPad app that is using text fields with a custom inputAccessoryView to provide additional functionality for the virtual

Show Detail

inputAccessoryView Not calling when keyboard appearing

I have added InputAccessoryViewto my keyboard disappear. It woks fine. But in some ViewController its not appearing. Even that method doesnt call. I have a button. When I click on that my text fi...

Show Detail

inputAccessoryView with custom view hide After I Dismiss keyboard

First of all , my project is so structured: -home page with a tableView to add element -floating Button: when clicked make appear keyboard with above a custom view (and inside a textView) to digit ...

Show Detail

Keyboard behavior when forced open with inputAccessoryView?

I have a device connected to my iPad that is acting as an external keyboard, however, I still need a soft keyboard in my program. I have had some luck using the following article: Show iphone soft

Show Detail

InputAccessoryView / View Pinned to Keyboard with SwiftUI

Is there an equivalent to InputAccessoryView in SwiftUI (or any indication one is coming?) And if not, how would you emulate the behavior of an InputAccessoryView (i.e. a view pinned to the top o...

Show Detail

How to hide only keyboard not inputAccessoryView in Swift

I have a textField at the bottom of screen. So I use inputAccessoryView with text field. Everything is correctly working, but when i hiding keyboard my inputAccessoryView is also hiding. I don't wa...

Show Detail

How do I prevent Keyboard from adding its own height constraint when using view as inputAccessoryView

I'm trying to use a custom view as an accessory view over the keyboard, for various reasons, in this case, it is much preferred over manual keyboard aligning because of some other features. Unfortu...

Show Detail

How to remove inputAccessoryView and replace it with another view?

Here is the requirement Basic chat app that has an input accessory view on top of keyboard in a UICollectionViewController I add this custom input accessory view by using override var inputAccesso...

Show Detail

Is it possible to dynamically change the height of the InputAccessoryView?

React Native version 0.55 ships with a InputAccessoryView. Is it possible to dynamically change the height of that InputAccessoryView? In the example below I set the initial height to 50 via this.

Show Detail