iOS Keyboard and Custom Buttons - iphone

How can I embed custom keyboard buttons inside the iOS Default keyboard, like the "UP" app by Jawbone has done in the picture below.
I am looking to embed an "#" button identically to how the app has done it (I don't need the # button). I have found ways to add buttons above the keyboard or change the keyboard style (the email style includes the # button but adds unneccessary ones and makes the space button to small) but no way to seamlessly integrate it like above.

That is not a custom button, that is the keyboardType UIKeyboardTypeTwitter.

Related

Difference between Buttons and onTapGesture

I’m quite new to swiftui and I was curious on what’s the difference between using a button displaying an image or an image with onTapGesture modifier that make an action just like the action on buttons.
In the use case you've described you can use either but for reference, Apple provides the following guidance in their documentation for onTapGesture:
If you are creating a control that’s functionally equivalent to a Button, use ButtonStyle to create a customized button instead.
onTapGesture adds an action to perform when the view recognizes a tap gesture and can be tailored to respond to any number of taps (with 1 being the default).
Buttons are a control that performs an action when triggered and have the benefit of automatically adapting their visual style to match the expected style within different containers and contexts.
In iOS and watchOS, the user triggers a standard button by tapping on it.
In macOS, the user triggers a standard button by clicking on it.
In tvOS, the user triggers a standard button by pressing “select” on an external remote, like the Siri Remote, while focusing on the button.
For more information please refer to Apples documentation here: https://developer.apple.com/documentation/swiftui/text/ontapgesture(count:perform:)
https://developer.apple.com/documentation/swiftui/button
I would recommend using Button when you want the feature of a button. I noticed that images cannot be used as buttons with Voice Over on. When I changed those to use Button instead, it fixes the problem.

Swift web app: iPhone keyboard, top bar and layout

I'm developing a web app in Swift. Normally, if the user click on a text field, the native keyboard opens itself. How can I remove from this keyboard the keyboard's top bar (with the "done" button and the arrows)? Ho can I resize my web view, if the keyboard is opened?
Thank in advance!
The options to customize the keyboard are quite limited, you can refer to Configuring the Keyboard for Web Views section:
You can include autocorrect and autocapitalize attributes in the
definition of an input element to specify the keyboard’s behaviors...
You can also control which type of keyboard is displayed when a user
touches a text field in a web page...

Creating Custom Keyboard like emoji

Is it possible to create custom Keyboard in iPhone which can get use by any other application. Similar to the Emoji keyboard. Is it possible to take advantage of the international keyboard feature for the iPhone and create a custom keyboard that can be used over for apps on iPhone?
Any help would be appreciated.
My suggestion is exploit the inputView property of textField. You can create a UIView having buttons on it like the keys in key board, and set action for each buttons. Do actions appropriately for tapping each key.

Change the language of iOS virtual keyboard "previous", "next", "done" buttons

Is there any way with jQuery-Mobile to change the language of the buttons displayed in the top bar of an iPhone/iPad virtual keyboard or to change the texts or remove them at all?
I have seen the language of the "space" and "Go" buttons inside the keyboard depend on the phone language and that is correct, but the buttons in the top bar of the keyboard are always displayed in English to me and I can not find the way to change them...
I am refering to these buttons.
I guess the answer is that if you are using Safari the answer is that it will use the system language, but if you wrap your application with i.e. PhoneGap you can set the 'CFBundleAllowMixedLocalizations' to 'Yes' in your info.plist file in Xcode.
No you can not change the the language of those buttons.
They are set the system language, so if I set my device to Dutch, those button will be displayed in Dutch.

In the iOS SDK, how can I include a button in a UITextField like Mobile Safari does?

How can I display a button and/or activity indicator inside of a UITextField on the iPhone? I'm trying to reproduce Mobile Safari's location text field which contains either a reload button or a cancel (stop loading) button which is right-justified inside of the text field.
Similarly, when you click inside of the text field (not on the cancel/reload buttons) to edit the URL, a clear icon (x inside of a circle) is shown inside of the text field which will erase the contents of the text field.
How can I create this in my own apps? I cannot seem to do it via Interface Builder so I suspect it's being done in code.
There is a built in option that worked for me...check here:
Adding the "Clear" Button to an iPhone UITextField
Check out TTMessageController.