I did't find a function to do this, I ask just to be sure: in mergAV, mergAVCamCreate is possible activate Tap to focus and hold to explosure in video?
Single tap to autofocus and double tap to continuously autofocus is supported at the moment... at least the code is in there... I would need to look into long press for exposure.
Related
I know using Keyboard.dismiss() can make the keyboard disappear, but I specifically want to know if there is a way to add a key on the keyboard (like a minimize key, a downward triangle etc) for dimissing it? It is intended for users to see visually instead of having to try to click a white space (where I implemented Keyboard.dismiss()).
I think if you use the prop keyboardType correctly you're gonna get what you want. Take a look here with more details in what which value that can be putted in this prop does.
I am trying to use a custom number pad with a textfield to take advantage of blur and focus. But, how to disable the keyboard permanently on ios. Everything I tried does not work.
"Textfield": {
keyboardVisible: false
}
Well, i don't think there is a way to disable keyboard on textfield, but if you can call your custom keyboard on a onClick event, maybe you can use a label instead of textfield and open your keyboard on click.
I know that isn't a optimal solution but maybe it is useful.
Another way to solve this problem is open directly a default pad number with attribute keyboardType : Ti.UI.KEYBOARD_DECIMAL_PAD and use Keyboard Toolbar.
I hope this is helpful.
This is currently not possible in Titanium, but it seems achievable on iOS:
https://stackoverflow.com/a/16467767/4626813
You might want to do a Feature Request Appcelerator JIRA. Check if it has already been requested before you create a new ticket. Refer to this question and also link back to the ticket here so that others can watch it with you.
In my app, I've allocated a new UIAlertView...A keyboard pops up in conjunction with its appearance and I can enter whatever I like into the UIAlertView's textfield.
I'm having a problem where, when I type on the keyboard, the color of the button located at index one on the UIAlertView changes every time I strike a key.
I've tried looking at all the right, obvious places...But cannot solve this.
I know a callback is triggered when I hit a key...But yeah.
Please help.
thanks
Apologies in advance if this is answered but I genuinely couldn't find it. I'm trying to bring up the keyboard type on iPad which appears when pressing the "#+=" button. I've tried going through all the types on the docs and I'm sure that this wasn't successful. Am I missing something or does the user have to click this button every time?
Edit: this question was closed as "off-topic" because it didn't include code or ideas or what I've tried already... Therefore for a bit of extra detail, I used EVERY keyboard type that is available on the docs e.g.
theTextField.keyboardType = UIKeyboardTypeNumberPad;
This did not yield the results that I require, which is the keyboard plane that appears when you press the #+= button because I wanted users to go straight to that one.
Unfortunately, this is impossible. It's not a keyboard type you want, it's a keyboard plane. There is no public API to switch or in any way access the keyboard planes.
One solution could be to create your own keyboard with the symbols you want. Another solution would be to open the keyboard and then generate a touch event that will switch the keyboard plane. However, this would be complicated, non-portable and a bit dangerous.
You have no ability to affect the built-in keyboards.
You can however create your own custom input view which you would set on the inputView of your text editing view before you make it first responder. Then iOS will show this view instead.
Have a look at this project of mine which implemented a "Morse keyboard" (April Fool's joke), but demonstrates how to achieve a custom keyboard that still interacts with a text field as you'd expect. http://www.cocoanetics.com/2012/04/dtmorsekeyboard-tutorial/
I have a table which has a couple of rows.I have two custom buttons on the cell .One of them is used to delete the row. I am trying to get the delete conformation button which is normally displayed on swipe to delete gesture on the row using the custom button press.
can someone please suggest a solution for the above problem.
thanks.
in short i want to replace the swipe gesture by a button press to make the framework provided delete button appear
Can you elaborate? It's not clear to me whether you want to replace the behaviour of the regular swipe-to-make-delete-button-appear (and if so, sounds like you might be reinventing the wheel), or if you want to have a swipe just automatically call your own delete button?
EDIT
Based on your comment, I think you want what's already posted here: Is it possible to programmatically show the red delete button on a UITableViewCell?