UITextInputTraits should support custom return key text
| Originator: | davbeck | ||
| Number: | rdar://13995650 | Date Originated: | 27-May-2013 11:24 AM |
| Status: | Open | Resolved: | |
| Product: | iPhone SDK | Product Version: | 6.0 |
| Classification: | Enhancement | Reproducible: | Always |
Summary:
While you can change the text of the return key on text inputs, you can only choose from a limited set of options. It's frustrating, because while there are several very specific choices, such as "Google" or "Yahoo", you cannot set your own specific return key if it is not one of these.
Instead, there should be properties for regular or done type (gray or blue) and the text of the key.
@property (nonatomic, copy) NSString *returnKeyText
@property (nonatomic) UIReturnKeyStyle returnKeyStyle
typedef enum {
UIReturnKeyStylePlain,
UIReturnKeyStyleDone,
} UIReturnKeyStyle;
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!