Questions tagged keyboard

Explore the latest questions and answers asked by our top developers.

keyboard notification not called with small keyboard

In my code the notifications, that the keyboard will open/close are called normally when the keyboard is big. But as soon as is make it small, squishing the keyboard between to fingers, those notifications are not called anymore. Anybody having similar issues? let notificationCenter = NotificationCenter.default notificationCenter.addObserver(self, selector: #selector(self.keyboardWillBeShown(_:)), name: NSNotification.Name.UIKeyboardWillShow, object: nil) notificationCenter.addObserver(self, selector: […]

By Adarkas2302
Published
Categorised as ios, keyboard, notifications, swift Tagged , , ,

Wrong characters with german bluetooth keyboard on iOS

I have an iOS app which needs to work with a bluetooth keyboard. So I overrode PressesBegan. public override void PressesBegan(NSSet<UIPress> presses, UIPressesEvent evt) { var handled = false; foreach (UIPress press in presses) { if(press.Key is UIKey key) handled |= Send(key); } if(!handled) base.PressesBegan(presses, evt); } private bool Send(UIKey key) { // more code […]

By Michael Rumpler
Published
Categorised as Uncategorised Tagged , , ,

Listen to a key/button press from a BT remote control/device connected to an iPhone (via bluetooth)

We have a requirement to develop an app that will be controlled by a remote control Bluetooth device. The device/remote is already working with Android, and now we need to find a way to get the buttons press events. This what I’ve found out so far: I’ve tried to connect with CoreBluetooth and only got […]

By Yonathan Goriachnick
Published
Categorised as bluetooth, ios, iphone, keyboard Tagged , , ,

Keyboard offset no longer functions in SwiftUI 2

So I have an ObservableObject that sets a published variable ‘currentHeight’ to the height of the keyboard: import Foundation import SwiftUI class KeyboardResponder: ObservableObject { @Published var currentHeight: CGFloat = 0 var _center: NotificationCenter init(center: NotificationCenter = .default) { _center = center _center.addObserver(self, selector: #selector(keyBoardWillShow(notification:)), name: UIResponder.keyboardWillShowNotification, object: nil) _center.addObserver(self, selector: #selector(keyBoardWillHide(notification:)), name: UIResponder.keyboardWillHideNotification, object: […]

By nickcoding
Published
Categorised as keyboard, offset, swift, swiftui, xcode Tagged , , , ,

since IOS 14 my app is not displaying images only when with the debugger or a device with iOS 13 also the keyboard won’t show all keys

So I have an app works great in iOS 13 since the release I have this issue with the app in IOS 14 that it shows the keyboard when using an inputs but some or most of the keys are not displayed you can still write with it but you don’t actually know which letter […]

By joel alcantara
Published
Categorised as ios13, ios14, keyboard, swift, xcode12 Tagged , , , ,

Since iOS 14, my app does not display images only when with the debugger or a device with iOS 13. Also, the keyboard won’t show all keys

So I have an app works great in iOS 13, but since the release of iOS 14 I have this issue with the app. It shows the keyboard when using an inputs but some or most of the keys are not displayed — you can still write with it, but you don’t actually know which […]

By joel alcantara
Published
Categorised as ios13, ios14, keyboard, swift, xcode12 Tagged , , , ,

keyboard pushes bottom elements upward

In my app when I select to give input to particular input field which positioned at top the keyboard pushes all my bottom element upward. I am using Ionic framework. In android platform it is solved by changing windowsoftinput to adjustpan from autoresize. How to solve this problem in case of ios platform. Source: Ios7 […]

By baldraider
Published
Categorised as ionic-framework, ios7, keyboard Tagged , ,

Not able to type in textfield in iphone simulator using Mac Keyboard?

I’m working on a basic iOS app which supports both portrait and landscape modes. When the iPhone simulator keyboard is open in landscape and I’m switching the app to portrait mode I’m unable to type anything in any text field using my Mac physical keyboard. Has anyone experienced this before? Is it a known bug? […]

By Deepak Carpenter
Published
Categorised as ios6, ios7, ipad, iphone, keyboard Tagged , , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq