Can't see custom keyboard in Safari of iOS8.1 simulator - ios

After update to Xcode 6.1, I lost my custom keyboard in Safari of iOS8.1 simulator. But it's still come in photo app. Photo app can switch to my custom keyboard, but Safari still display English and Emoji, other system keyboard like Arabic also not work. I reset simulator but not work.
It's look nothing change in Safari in iOS8.1.I try to clear DerivedData folder but it no help.
I remove Xcode and reinstall from Appstore, not work too.
I must test on my device, too strange.
Does anyone have same issue? please help how to solve this.

This is a known issue. From the release notes for XCode 6.1.1:
Localization and Keyboard settings, including 3rd party keyboards,
are not correctly honored by Safari, Maps, and developer apps in the
iOS 8.1 Simulator. [NSLocale currentLocale] returns en_US and only the
English and Emoji keyboards are available. (18418630, 18512161)
The suggested work around is to use another app, such as Contacts, for which the keyboard does display correctly in the simulator.

You may have to stop your physical keyboard from taking control. From the Simulator's Mac menu:
Hardware -> Keyboard -> (uncheck) Connect Hardware Keyboard

The text above actually only contains a simple question
"Does anyone else have this issue".
The correct answer is
"Yes other people have the same issue."

Related

Unable to select my custom keyboard from the available keyboards list

I'm developing a custom keyboard app for iOS devices. After adding keyboard extension to my app I added a TextView to Main.storyboard and then I ran my app on an iPhone 5 simulator.
For adding my custom keyboard to available keyboards list I went to Settings > General > Keyboards > Add new Keyboard & here I added my custom keyboard but when I'm returning back to my app and trying to select my custom keyboard by long pressing the globe icon, my custom keyboard has not been shown there.
What's the matter here?
Please reply & I'm sorry for no code as I haven't coded any yet.
Thanks in advance
Please neglect the mistakes!
There is a bug concerning the simulator.
Either you run your extension on a real device or you can use the Photo app or Safari browser of the simulator to test your extension.
general article about developing iOS keyboards (head for “The Simulator”)
As of Xcode 6.1, you can no longer open 3rd party keyboards in most apps in the Simulator, including your own. (And not just 3rd party keyboards: most system keyboards refuse to show up, too.) Not only does this make debugging a whole lot harder, but it also prevents you from easily making screenshots of your keyboard if you don’t own some of the newer devices. This issue is marked as a bug in Radar, and seeing as how it first appeared in the Xcode 6.1 betas, I cannot fathom how it got through to release.

Keyboard not compatible with all phones

I just got xcode 6.1 and was running my app on it and the keyboards didnt come up when i clicked on the text fields in the simulator. Then I tried running the app on the iphone 5 simulator and it worked... Please let me know if you know how to make the keyboard compatible with all phones. Thanks in advance.
If I do understand your problem correctly then you should go to
iOS simulator go to hardware->keyboard -> uncheck the "Connect Hardware Keyboard"
You do not need to uncheck the "Connect Hardware Keyboard" option. There is an option in the simulator, under the Hardware menu, Keyboard submenu named "Toggle Software Keyboard". This can get out of sync, so just hit command K when in a UITextField and it will return it to the normal operation you would expect. This is regardless of whether you have the hardware keyboard enabled or not.

3rd party keyboards (Swyft, SwiftKey, etc) do not work in iOS 8 GM

I'm running the GM build for iOS 8 on my iPhone 5s
My friend who has the identical setup, and has them working, so I don't know what my problem is. I go through the same install process of these 3rd party keyboards, and I can install them and select them from the keyboard selection.
However, instead of the swift keyboard or the SwiftKey keyboard I see a large gray area where the keyboard should be. No letters, nothing...i have to delete the keyboard to be able to type again.
Anyone else experiencing this? I tried re-installing, rebooting phone, nothing seems to get them working...
I'm running the GM build for iOS 8...
Seems as though I missed a step. If you don't "add full access" by tapping on the keyboard in settings and toggling the switch, they keyboard shows as a gray box but with no keys!! You can't even close out of it without deleting the keyboard.
*EDIT nope, it's still broken. This option was only available for SwiftKey, and it only caused the keyboard to work for a brief moment, then it was back to grey box or not displaying a keyboard at all, as if I was connected to a hardware keyboard.
Still searching...

How to display keyboard in iOS8

Im trying to convert my iOS7 project to iOS8
When I built the app in iPhone 5s simulator for iOS8.0, I found the keyboard would no longer appear automatically when clicking a UITextField or UITextView...
Is there any one can tell me how to solve this?
thanks~
To fix this, on simulator, open the Menu: Hardware - Keyboard - Toggle software menu (make sure it's checked)
I had a similar problem that was the reverse of the above. When I built the app in simulator for iOS7.0 the keyboard not showing up.
The above answer solved the problem for IOS 7 builds as well.

ios 8 how to debug Custom Keyboard?

I have successfully created a Custom Keyboard with Swift on iOS 8 simulator.
Although it worked well, but I could not debug it. It is a contained target and was installed through Settings->General. Placing a bookmark in XCode not work.
I am able to debug a custom keyboard using the simulator via Xcode 6.
Select the keyboard (and not it's container) as the scheme.
"Run" and then select on of the apps on your simulator to debug the extension with.
It seems as of now apple didn't get support for debugging extension into simulator. I was having same issue but I observe that We can debug code if we execute application into device as below.
1) Choose your Keyboard extension target.
2) Go to Edit Scheme.
3) In info tab select your Executable from drop down and check the option "Debug extensions and XPC services".
Still several problems are there like we can't see output of NSLog but you can check the value of variables same as before or I suggest you to check this link It may work for displaying NSLog output KeyboardViewController NSLog IOS 8.
Apple has reported this problem as a know issue in Xcode 6.1 release notes:
Localization and Keyboard settings, including 3rd party keyboards, are not correctly honored by Safari, Maps, and developer apps in the iOS 8.1 Simulator. [NSLocale currentLocale] returns en_US and only the English and Emoji keyboards are available. (18418630, 18512161)
I'm using Xcode 6.1.1 and seems that it still hasn't been solved but I've discovered a workaround. You should follow this steps:
Open Xcode and in its menu bar click into Xcode > Open Developer Tool > iOS Simulator
Now into iOS Simulator menu bar go to Hardware > keyboard and check if "Connect Hardware Keyboard" is enable. If it is, click it to disable and quit iOS Simulator
Then go back to Xcode and make sure that keyboard is selected as scheme
Click into run button or press Product > Run to build and run you application and in the "Choose an app to run" menu choose Today
When iOS Simulator starts, go to Settings > General > Keyboard > Keyboards > Add New Keyboard and select your own and then press in your keyboard command + shift + H to back to the homescreen
Finally open Calendar app and press the magnifying glass icon, the keyboard will appear and you only need to hold the globe button to show the list of enabled keyboards and select yours
Note that it's important to try your keyboard in the Calendar app because in most applications it doesn't work or it has an unexpected behavior
If the keyboard still doesn't appear:
remove the file com.apple.iphonesimulator.plist from ~/Libray/Preferences/
In iOS Simulator menu bar click into iOS Simulator > Reset Content and Settings...
More info about keyboard debugging and development here
After searching and investigating this, I've found the best solution to be to install and use Reveal. It helps you visualise the custom keyboard like the debug hierarchy view and shows various other measures.

Resources