I am developing a custom keyboard extension. Everything works so far, but ... Is it possible to give my custom keyboard an icon which iOS will show if it would be the next to show? I searched but i can't find anything.
Example: If i only have the text and emoji-keyboard the Globe/ABC-Button changes to an emoji if the next keyboard is the emoji-keyboard.
Related
I am working on a Flutter app. A problem I encountered is that there is no default "Done"- or "Close" button for the numerical keyboard on iOS.
I made an ok solution where the user can close the keyboard by tapping outside the keyboard or swiping downwards. But the ideal solution would be to have a "Done" button in the bottom right corner of the keyboard like Android does right?
I tried the following package keyboard_actions. But it was very buggy in my app. When the keyboard appeared it pushed up the text in the text field.
Why didn't Apple add a default "Done" button for the numerical keyboard? How do you solve this in the simplest and best way?
Thanks!
I've written a custom iOS keyboard that works fine. On iPads, when I switch between keyboards, my custom keyboard renders and then the shortcut bar gets added to the top (if the shortcuts bar option is turned on in settings - if it's not turned on, I have no issue). Because it's happening in 2 steps the keyboad appears to "bounce". My keyboard takes up less screen real-estate than the default iOS keybard, so it drops down. Then it pops back up as it renders the shortcuts bar.
Is there a way to either override the global setting and force the shortcuts bar off/hidden for my keyboard? Alternative, can I force it on and make it render at the same time as my keyboard is drawn?
I am working in custom keyboard app.
When long press in my emojis it's not open in above textField. it's display in bellow iMessage keyboard. see below screen shot.
it's possible to add my image open in above textField.like iOS default emojis.
if it's possible then give me solution, Thanks.
My app was running fine on ios 8.4, but now after trying it on ios 9 beta, once the app is opened, the cursor on the UITextfield doesn't show up.
The keyboard doesn't come up. Shouldn't it come automatically?
The app works perfectly fine till ios8.4. Can some one help me out?
After one tap gesture on the UITextField, cursor doesn't show up at all.
Also, I tried checking the tintColor property as well as suggested by some users, but it is default blue.
Is there some specific change made in the way keyboard works on ios9?
A Situation - When I click on Login button, Alert message is displayed and then on pressing ok, the keyboard appears with a cursor but I can type only 1 character and suddenly the cursor and keyboard disappears. Then again, click on login, get the error message, cursor is available, type 1 character and cursor and keyboard disappears again.
Why is cursor on visible when tapped on a UITextField. This according to me must be a simple automatic thing. I have used resignFirstResponder and becomeFirstResponder too.
Anything to do with the Views here? For example, super view or something?
Thanks in advance!
Shrikant Kekane
The situation you have described is not happening when I tried the same.
The steps I followed:
Drag and drop one UITextField in Storyboard.
Give it required constraints.
Build & Run.
Keyboard and cursor both work perfectly in iOS9 simulator.
I'm trying to design a custom keyboard for iOS 8. Here are my development steps:
1. Created new project (Single view)
2. Created a new target: File > New > Target, and in the iOS template group chose the Custom Keyboard template.
Then I tried to enable the keyboard based on the documentation steps, which are:
1. Run the app
2. In iOS Simulator, press home button (Command+Shift+H)
3. Go to Settings > General > Keyboard > Keyboards.
4. Tap Add New Keyboard.
5. In the Purchased Keyboards group, tap the name of your new keyboard. A modal view appears with a switch to enable your keyboard.
6. Tap the switch to enable your keyboard. A warning alert appears.
7. In the warning alert, tap Add Keyboard to finish enabling your new keyboard. Then tap Done.
My problem is in step 5. The modal view does not show a switch to activate the keyboard, it shows an empty view like bellow:
I clicked on Done button and it shows my Custom keyboard in activated list:
But when I want to use this keyboard, for example in spotlight, it won't show my keyboard
Clicking the done button will activate the keyboard. There are some definite bugs in those menus.
To change keyboards, you can also try just tapping on the button to change keyboard, rather than holding it like you were in the last screenshot.
Also, it looks like you have the language for that keyboard set as persian, and my guess would be that it is not appearing because your system language is not persian (or the text field you are typing in doesn't support persian).
I wouldn't be surprised if there are other bugs in the simulator that would affect this. I'm glad to hear you were able to get it working.
After you click done, it should install the keyboard, even if you don't see the list in the settings table.
About the keyboard not showing up - you need to kill the app before running a new keyboard. it's a known issue on the simulator.
good luck!