VoiceOver to focus the whole receive text area only - iphone

in my iPhone application I am usinf VoiceOver functionality. I have a UITextView with some text. It is now possible to focus each line in text area. How can I implement possibility to focus the whole receive text area only.

Related

Detect whether device will show a soft keyboard in Flutter

In my Flutter app, I would like to be able to know whether the device has a soft keyboard enabled (notice: enabled != currently showing). What I mean by that is, when a text input receives focus, will a soft keyboard be shown?
The idea is that when showing a dialog with a text field for a query and a list of search results (the list is populated even if the query is empty), I would like to autofocus the text field, but only if by focusing it there won't be a soft keyboard popping up. The issue is that soft keyboards take away screen space, so there will be fewer search results visible (on small phones, as few as only one). Therefore, autofocusing should only happen when there won't be a soft keyboard (as, for example, with browsers on desktop).
Edit: To clarify, this is not a duplicate of Flutter: Detect keyboard open/close or similar questions. What this question asks is "Is the soft keyboard currently showing?" whereas my question is "When a text input receives focus, will a soft keyboard be shown?" I need to know whether it will show before it is actually shown.

Tabs and tab stops in flutter text

I have a flutter application that displays text send by a server that contains tabs (\t).
The goal now is to have the text aligned at tab stops using the text, as it is done by text editors.
Unfortunately Text and RichtText seem to ignore the \t symbol or handles it as a normal space.
In addition, I want the text to be selectable. So rendering every tab stop in its own text widget is not really an option, because then the text is not selectable across multiple tab stops.

White background shows when keyboard closes on Android

I am testing my app on HTC One M8 running Android version 5.0.2. When an input field in the app loses focus, a white background is shown after the keyboard closes.
My background image is set on .scroll-content, so I don't understand why it acts like this on Android.
Check your ionic pane colour and view colour. You have different background colour so in the keyboard adjust pane mode the view gets resized (height-keyboard height) so when the keyboard goes off it shows the ionic-pane colour. So override the '.pane' background colour and see will it make any difference.
keyboard adjustment will work only if '.scroll-content' is present. By default ionic-content will enable this
The issue is that when we open a keyboard in our current application the app gets resized to the area that is left after opening the keyboard and the Cordova webview is too slow in resizing the app back to its normal size after the user closes the keyboard. There is no proper solution to this problem.
The most elegant working workaround for is to stop resizing the application on keyboard open. The keyboard will just slide up and down on the form as an overlay and there will be no resizing required.
In AndroidManifest.xml file try to set windowSoftInputMode attribute to adjustNothing:
android:windowSoftInputMode="adjustPan"
This is not a solution and can be considered as an option for small forms but it is not suitable for big forms.

Forms in iOS5 (fileds obscured, next/done for numpads)

I am designing a form in iOS 5, where i'm showing the following fields.
User Id - Numpad Keyboard
Pin Number - Numpad Keyboard
Password - ASCII capable
Confirm Password - ASCII capable
I have a number of problems.
When the keyboard is on screen, fields which are displayed at the bottom are obscured by the keyboard. How do i show them?
There is no next/done button implementation for Numpad Keyboard type. A custom implementation as discussed in SO on this link has the problem, that i have ASCII keyboards too, which display next buttons at the bottom. and while being displayed in the landscape mode, there is no room left for the form.
There are two parts to this.
Keeping controls in view when the keyboard appears.
Having previous/next/done buttons on any keyboard.
For the first part, you want to use a scroll view. See: Moving Content That Is Located Under the Keyboard.
For the second part, you want to set a input accessory view. See: Input Views and Input Accessory Views.
Hope that helps.

How to mimic the behavior of the iPhone Mail app when entering email addresses?

I was wondering whether any of you may have an idea how to mimic the behavior of the native Mail app on the iPhone, when selecting email contacts in the To/CC lines.
If you note carefully, when touching that line the keyboard opens and you get a cursor, which is like the normal behavior of a UITextField. However, after keying a name and selecting it, the name is added inside a blue bubble. Still fine - one could create the bubble and move the text field. However, if you go back using the backspace key - the blue bubble becomes marked (darker blue), the cursor disappears, but the keyboard stays visible.
Any idea how to accomplish that?
Thanks!
Ariel
Check out the Three20 control library from the Facebook: https://github.com/facebook/three20
Either the TTMessageController, or the TTPickerTextField control are what you want. For using TTPickerTextField there's a good demo here: https://github.com/shayne/TTPickerTextFieldDemo