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 , , ,

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 , , , ,

iOS detect keyboard layout (e.g. QWERTY, AZERTY)

I am building a custom suggestion/autocorrection feature in an iOS app. It must detect accidental adjacent keypresses and compare this to a known word list to suggest the word it thinks the user intended to type. For example, if the custom word list contains cat, dog, monkey, and the user types cst, the app can […]

By Wheelie
Published
Categorised as autosuggest, internationalization, ios, keyboard, uitextfield

Trigger iOS dark keyboard from HTML input

I am writing a web app (for the iPad) which has a night mode, which inverts the colours to white text on a black background for use in low light. However, the inputs trigger the standard iOS keyboard, which is glaringly bright. I already know how to trigger the numeric keyboard, but is there a […]

By Simon
Published
Categorised as css, html, ios, keyboard

Cannot turn autoCorrect to {false} in react native TextInput

On my TextInput change text, I detect whether the user pushed the @ button for mentions. onChangeText(text){ const suggestTrigger = text.match(/[email protected][A-Za-z0-9]*$/i) //grab “@” trigger const searchQuery = (suggestTrigger && suggestTrigger.length > 0) ? suggestTrigger[0] : null; this.setState({ searchQuery: searchQuery }) } Then, in my render, I do: <TextInput autoCapitalize={this.state.searchQuery ? “none” : “sentences”} autoCorrect={this.state.searchQuery ? […]

By TIMEX
Published
Categorised as ios, keyboard, react-native, text

PlugInKit: -[PKService run] iOS Keyboard extension error

I have developed a iOS keyboard and i am getting some wired error in my crash logs i have search in every where but i didn’t find any solution. This is the error i am getting in my error console. PlugInKit: -[PKService run] + 752 Here is screenshot of the error. can anyone tell me […]

By Kamal Upasena
Published
Categorised as crash-reports, ios, keyboard

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 , ,
1 2

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