As you can see into screenShot when I am entering any text into text field keyboard doesn't pop-up so can anyBody tell me how can I solve this problem. And I am using xCode 6.1 beta version.
click simulator go to Hardware->keyboard->Toggle Software Keyboard
Related
In my iOS app i have 4 input pins X-X-X-X and what i want is if the user taps backspace, the value of my pin box will be deleted in an order from right to left.
I have solved this issue by showing a custom keyboard if the iOS version is 8.1 and 8.2. Those version have bugs on backspace. See my custom keyboard on github: https://github.com/rhonnel/iOS-Custom-Keyboard.git
I can't select the keyboard extension I added.Namely, I added my custom keyboard application extension target.I then build and run the target with an application and went to
Settings > General > Keyboard > Keyboards -> Add New Keyboard and added my new keyboard.
I now have English, Emoji and myKeyboard under Keyboards. I then go back to the application i
started the keyboard with and tap on a text field and the standard iOS keyboard pops up. I try to tap and hold the globe button and only English and Emjoi keyboards are available for selecting. Any ideas why ?
If you are doing it on simulator, you will not be able to choose your custom keyboard extension from the keyboard menu in your container app. it is known issue in Xcode 6.1, hasn't fixed by apple yet .
You can try display your keyboard in the stock contacts app on the simulator, or you could just run your app on real device.
I have a UITextField Ctrl-dragged as an #Outlet in my .swift class.
Now in viewDidLoad i'm using this code
self.myTextField.keyboardType = UIKeyboardType.DecimalPad
When i launch my app on simulator and click on the UITextField i got this log
Can't find keyplane that supports type 8 for keyboard
iPhone-Portrait-DecimalPad;
using 2617181025_Portrait_iPhone-Simple-Pad_Default
I have no crash or something but the keyboard is not displayed. I also tried to set it from Storyboard but it's the same.
I also noticed that whenever i click on any UITextField the keyboard is never displayed (but no log is shown for the default keyboard)
I'm using Xcode-Beta 3 anyone faced this issue?
I too had this problem after updating to the latest Xcode Beta. The settings on the simulator are refreshed, so the laptop (external) keyboard was being detected. If you simply press:
iOS Simulator -> Hardware -> Keyboard -> Connect Hardware Keyboard
then the software keyboard will be displayed once again.
Go to iOS Simulator-> Hardware-> Keyboard -> Uncheck the Connect Hardware Keyboard Option.
This will fix the issue.
This message comes when the keyboard type is set to numberPad or DecimalPad. But the code works just fine. Looks like its a bug with the new Xcode.
If you're getting this bug with Xcode Beta, it's a beta bug and can be ignored (as far as I've been told). If you can build and run on a release build of Xcode without this error, then it is not your app that has the problem.
Not 100% on this, but see if this fixes the problem:
iOS Simulator -> Hardware -> Keyboard -> Toggle Software Keyboard.
Then, everything works
I have fixed this issue by unchecking 'Connect Hardware Keyboard'. Please refer to the image below to fix this issue
Xcode: 6.4 iOS:8
I got this error as well, but for a very different reason.
//UIKeyboardTypeNumberPad needs a "Done" button
UIBarButtonItem *doneBarButton = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemDone
target:self
action:#selector(doneBarButtonTapped:)];
enhancedNumpadToolbar = [[UIToolbar alloc]init]; // previously declared
[self.enhancedNumpadToolbar setItems:#[doneBarButton]];
self.myNumberTextField.inputAccessoryView = self.enhancedNumpadToolbar; //txf previously declared
I got the same error (save mine was "type 4" rather than "type 8"), until I discovered that I was missing this line:
[self.enhancedNumpadToolbar sizeToFit];
I added it, and the sun started shining, the birds resumed chirping, and all was well with the world.
PS You would also get such an error for other mischief, such as forgetting to alloc/init.
This error had come when your keyboard input type is Number Pad.I got same error than I change my Textfield keyboard input type to Default fix my issue.
There is no "Numeric Keypad" for iPads out of the box. When you specify one iPads display the normal keypad with the numeric part displayed. You can switch over to alpha characters, etc. If you want to display a numbers only keyboard for iPad you must implement it yourself.
See here: Number keyboard in iPad?
iOS Simulator -> I/O -> Keyboard -> Connect Hardware Keyboard
I was facing similar issues but above flow chart is the fix for your issue.
For me turning on and off the setting on
iOS Simulator -> Hardware -> Keyboard -> Connect Hardware Keyboard
proved to fix the issue on simulators.
I have page shrinking problem in cordova iOS platform. When clicking the input text field, it opens the keyboard.
I am facing the screen shrinking problem when clicking outside the already focused text field and didn't close the keyboard which is already opened. If I close or exit the opened keyboard, then there is no problem. The screen shrink is not coming.
With this I attached my screenshot. Any help will be appreciated. Thanks in advance.
I have a UITextField Ctrl-dragged as an #Outlet in my .swift class.
Now in viewDidLoad i'm using this code
self.myTextField.keyboardType = UIKeyboardType.DecimalPad
When i launch my app on simulator and click on the UITextField i got this log
Can't find keyplane that supports type 8 for keyboard
iPhone-Portrait-DecimalPad;
using 2617181025_Portrait_iPhone-Simple-Pad_Default
I have no crash or something but the keyboard is not displayed. I also tried to set it from Storyboard but it's the same.
I also noticed that whenever i click on any UITextField the keyboard is never displayed (but no log is shown for the default keyboard)
I'm using Xcode-Beta 3 anyone faced this issue?
I too had this problem after updating to the latest Xcode Beta. The settings on the simulator are refreshed, so the laptop (external) keyboard was being detected. If you simply press:
iOS Simulator -> Hardware -> Keyboard -> Connect Hardware Keyboard
then the software keyboard will be displayed once again.
Go to iOS Simulator-> Hardware-> Keyboard -> Uncheck the Connect Hardware Keyboard Option.
This will fix the issue.
This message comes when the keyboard type is set to numberPad or DecimalPad. But the code works just fine. Looks like its a bug with the new Xcode.
If you're getting this bug with Xcode Beta, it's a beta bug and can be ignored (as far as I've been told). If you can build and run on a release build of Xcode without this error, then it is not your app that has the problem.
Not 100% on this, but see if this fixes the problem:
iOS Simulator -> Hardware -> Keyboard -> Toggle Software Keyboard.
Then, everything works
I have fixed this issue by unchecking 'Connect Hardware Keyboard'. Please refer to the image below to fix this issue
Xcode: 6.4 iOS:8
I got this error as well, but for a very different reason.
//UIKeyboardTypeNumberPad needs a "Done" button
UIBarButtonItem *doneBarButton = [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemDone
target:self
action:#selector(doneBarButtonTapped:)];
enhancedNumpadToolbar = [[UIToolbar alloc]init]; // previously declared
[self.enhancedNumpadToolbar setItems:#[doneBarButton]];
self.myNumberTextField.inputAccessoryView = self.enhancedNumpadToolbar; //txf previously declared
I got the same error (save mine was "type 4" rather than "type 8"), until I discovered that I was missing this line:
[self.enhancedNumpadToolbar sizeToFit];
I added it, and the sun started shining, the birds resumed chirping, and all was well with the world.
PS You would also get such an error for other mischief, such as forgetting to alloc/init.
This error had come when your keyboard input type is Number Pad.I got same error than I change my Textfield keyboard input type to Default fix my issue.
There is no "Numeric Keypad" for iPads out of the box. When you specify one iPads display the normal keypad with the numeric part displayed. You can switch over to alpha characters, etc. If you want to display a numbers only keyboard for iPad you must implement it yourself.
See here: Number keyboard in iPad?
iOS Simulator -> I/O -> Keyboard -> Connect Hardware Keyboard
I was facing similar issues but above flow chart is the fix for your issue.
For me turning on and off the setting on
iOS Simulator -> Hardware -> Keyboard -> Connect Hardware Keyboard
proved to fix the issue on simulators.