autocomplete suggestion list in iOS with bluetooth keyboard support - ios

I want functionality similar to MFMailComposeViewController in which when user types email address, popup is shown which is controlled by Bluetooth keyboard using up & down arrow keys.
How one can implement similar one for UITextview ?
-Rajesh

If you want to implement autocomplete, then a good tutorial is available at the Ray Wenderlich blog http://www.raywenderlich.com/336/how-to-auto-complete-with-custom-values
I think this is not related to the bluetooth keyboard. It may add a few keys that are not available in the virtual keyboard. You will need to handle the up and down keys in code to achieve the same functionality.

Related

Presenting just a subset of emojis on the keyboard on iOS apps

I am making an app where I use the "People" emojis as avatar faces and the "Food and drink" emojis for, well, food and drink icons. I would like to use the regular keyboard for presenting the emojis for user input, but I would like to present only these two categories of emojis (and even so, each category would be presented in a different context).
I am working with iOS 8, Xcode 6.3 and Swift.
Can I configure the regular keyboard so that it only shows a subset of emojis which I define?
If not, can I create a new custom keyboard preserving everything from the original Apple keyboard but limiting the subset of characters? Any pointers on how to do this?
Thanks.
You can not configure the regular keyboard so that it only shows a subset of emojis. But yes can make your own custom keyboard.
You can find some really good posts about how to make the custom keyboards:
http://verisage.us/en/blog/2014/07/17/ios-8-custom-keyboard-swift-tutorial/
http://code.tutsplus.com/tutorials/ios-8-creating-a-custom-keyboard-in-swift--cms-22344
Also I found this FaceBoardPlus sample: http://code4app.net/ios/FaceBoardPlus/52a9ba56cb7e841e178b69d0 which is exactly what you are looking for but written in objective c.
EDIT: From iOS developer library:
After a user chooses a custom keyboard, it becomes the keyboard for
every app the user opens. For this reason, a keyboard you create must,
at minimum, provide certain base features. Most important, your
keyboard must allow the user to switch to another keyboard.
To provide a fully custom keyboard for just your app or to supplement
the system keyboard with custom keys in just your app, the iOS SDK
provides other, better options. Read about custom input views and
input accessory views in Custom Views for Data Input in Text
Programming Guide for iOS.

Creating an Emoji-Like Keyboard

I am looking to create an emoji keyboard, which works similar to the native one on iPhone.
Currently all apps that provide a keyboard, do not let you insert an emoji inline with the text.. rather they provide you the ability to 'paste' it in like an image.
In addition to this, if an emoji is sent to a user that doesnt have the app installed, will they see the 'emoji' or will it display as a bunch of random characters?
I was hoping someone could point me in the right direction, as I cannot find the detail I am looking for.
Thanks
As for creating custom keyboards, you should get started by reading Apple's official documentation on the subject.
To answer your question about displaying Emoji: Any platform that supports Emoji will see them as an Emoji. A good source to see which platforms support it is CanIEmoji.com. Any other platforms will likely display it as an empty square, since it is not a supported character.
Any custom emoji keyboard you create will show up like a picture attachment, iOS especially doesn't allow custom inline emojis. Check out these two articles they might help with even more info:
https://www.bluecloudsolutions.com/blog/emoji-apps/
https://medium.com/#mantia/so-you-want-to-build-an-emoji-keyboard-26450ba5136a

use a custom keyboard across other apps in iOS

I have a question. One thing I know is that I can customise the iOS keyboard, like add a few buttons using accessoryView, in my iOS app. Now what I want to ask here is that is there any way I can create a custom keyboard with my special keys and use that across multiple apps like Facebook or WhatsApp etc? Please do reply Thanks.

iPhone: Custom keyboard layout and theme

I am wondering if anyone knows how to or can like me to some documentation or tutorials on how to make custom iOS keyboard sets as well as theming the iOS keyboard. I have read everything I could find, watched many youtube videos and read related posts on here. Most are just making a keyboard from scratch with a bunch of buttons or just tell you how to use the other iOS layouts like email, keypad etc. I need to create a custom keypad set. It must be able to be done, the Wolfram|Alpha Calculus apps have custom keyboard layouts and modified themes. If anyone has any info, please send it my way!
Example from the wolfram app:

iOS autocomplete feature

What most people mean by autocomplete is that the app has a textview/searchbar/whatever which accepts user input. Attached to this component is a tableview which keeps updating based on the user input. This is a well researched topic and is now relatively easy to implement thanks to the UISearchDisplay controller.
Now here is what I want. When the user is typing in some text in the UISearchBar, there will be no searchdisplaycontroller. Instead, I want the app to do something like Google Instant on desktops. That is, if I type "Goog", the searchbar should show Goog*le. So the suggestion "le" should be in a lighter font than the rest of the user input string Google. So I don't want an auto-suggest feature, I want an autocomplete feature.
Any ideas on how I can do this?
Thanks!
Alternatively, you can use this UITextField subclass (inspired by DOAutocompleteTextField):
https://github.com/hoteltonight/HTAutocompleteTextField
It's got a few more features and is actively developed. The example shows you how to use an array as the data source for the autosuggest text.
I haven't tried it but here's a control that appears to do what you're asking for:
http://cocoacontrols.com/platforms/ios/controls/doautocompletetextfield

Resources