For the life of me I cant figure this out - please help me :)
Basically I'm hoping to use some ipads as a kiosk solution to gather data in public areas however whenever I enable guided access mode and tap a textArea the soft keyboard doesnt show up. Heres the steps:
Goto Settings > General > Accessibility > Guided Access > Enable
Goto Safari > Open Google.com > Triple tap the home button > Resume
Incorrect Behaviour:
Tap the search screen > No keyboard shows
I've tested this with a "New" iPad (last of the old dock connector models) & iPad Air on 7.0.6
Also tested on iPhone 5S on 7.1 and it seems fine (so two variables there)
Can anyone confirm/deny my thoughts it may be a bug
That is a bug in iOS 7 versions below 7.1. With iOS 7.1 automatically showing the keyboard when selecting an input textfield worked as well as the "hide keyboard" button when resuming guided access while the keyboard is visible.
I'm not aware of a workaround for this behavior for iOS 7 versions before iOS 7.1.
Related
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.
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."
Does the iPhone 6 have some new way (off-screen/hard button) to reopen a hidden soft keyboard? I don't have a physical device to test with, but I'm seeing something new in the iPhone 6 simulator that I don't see in iPad or iPhone 5.
The iPhone 6, in landscape view, now has a "hide keyboard" button, like only iPad has had before. Here are the different behaviors I'm seeing, and I'm hoping it is not a new issue I need to design my apps around.
Initial steps are the same in iPad and iPhone 6 simulators (and tested on physical iPad and works same as simulator):
Switch to landscape orientation
Open Calendar app (probably other apps too, but wanted to give example using native app, it happens in my app also which is why I care)
Tap + to add a new event
Tap in a text field
Tap the "hide keyboard" button in bottom-right corner
Tap to another text field
On physical iPad and iPad simulator the keyboard reopens at this point. With iPhone 6 simulator, the keyboard doesn't reopen.
I've tried some different combinations of resignFirstResponder and becomeFirstResponder in my app to try to get it to reappear, but nothing is working. Because the Calendar app also has this issue I'm hoping it isn't actually an issue, and there is a way for the user to reopen the keyboard manually if they want? In the simulator I can use "toggle software keyboard" and it reopens, but not sure if the physical device has something that lets the user reopen the keyboard?
If I switch to another app, or the home screen, after that the keyboard does start working as expected again (tap a text field and it opens).
Try unchecking Hardware => Keyboard => Connect Hardware Keyboard.
Try these keys to open soft keyboard => Command + K
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...
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.