(This question concerns HTML pages in Safari, not app development in XCode.)
In Safari on iPhone, when clicking on a <input> or <textarea>, the text on the enter key
says "enter".
Is it possible to change this text?
I remember a posting saying something about using <textarea title="My button text">, but this does not work when I tried it.
Note.
You get the return key and keyboard types defined in the OS. Unless you want to try to hack the keyboard's view hierarchy to change that button, which would be a really bad plan. (Standard recommendation here is to file a bug report with Apple to let them know you'd like more/different options.)
Related
I created an OS X text editor application (with swift) that uses an NSTextView.
When you right click a link in NSTextView you can choose edit and then a panel pops up and enables you to edit the link.
Is there a way to on insert a link in the same way?
I know NSTextView recognizes links automatically but that does not provide the functionality I need. I need the ability to insert link text and link url that are different from one another.
I currently implemented this by letting the user select text and showing a popup (after pressing cmd+K) where he can enter the link. Then I add the link by:
textStorage?.addAttribute(NSLinkAttributeName, value: url, range: range)
This works, but it seems really strange that apple won't implement this kind of basic behavior in an important control as NSTextView.
Am I missing something?
So, I got the following image from graphic designer.
On the right is keyboard popping in our application, on the left is keyboard he sees everywhere else on his phone (iPhone 6), apparently. He wants the keyboard on the left to appear in our application too. This looks like standard iOS keyboard, only smaller, but I don't see any option to get it. How do I get it? Or is it just particularly popular custom keyboard/extension? Or maybe it's really easy to do custom keyboard/extension (note, I don't know a thing about custom keyboards/extensions in iOS)?
The keyboard is adjusted when you have inputAccessoryView assigned for active field.
check: https://developer.apple.com/library/ios/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/InputViews/InputViews.html
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
I'm developing a webapp on the iPhone. When entering text in a textfield, a keyboard pops up. Is there a way to change the wording for the "Done" key or hide it? I know how to change the "return" key, I want to change the blue "Done" key.
Thank you.
This has nothing to do with the web application itself , 'done' button is part of mobile safari user interface...No you can't to this from inside your web-app...
The only way to implement something like this (only for jailbroken devices) , is creating a mobilesubstrate hook for mobilesafari (exported as a dynamic library) , for changing any (possible) attributes of the desired subview...
In iPhone virtual keyboard...
1.Change the alphabetical keypad view to numerical view.
2.Tap on the single quote(') button the view changes to alphabetical.
3.In this view tapping on space twice displays a fullstop.
I don't know whether it is apple bug or feature, How to fix this issue through coding?
Thanks,
This is not a bug, this is a feature.
(Apple deliberately make pressing ' switch back to the alphabetic plane for contractions like "Peter's".)
(And tapping space twice gives a period is also a feature. It's even documented.)
If you want to modify this feature, the whole UIKBKeyboard class of the keyboard layout needs to be changed at runtime, which means "private API" etc.
This answer may help: iPhone: Disable the "double-tap spacebar for ." shortcut?