[TIMOB-20390] Ti.UI.KEYBOARD_APPEARANCE_ALERT should be deprecated
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-02-26T17:36:19.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 5.4.0 |
| Components | iOS |
| Labels | qe-5.4.0 |
| Reporter | Fokke Zandbergen |
| Assignee | Angel Petkov |
| Created | 2016-02-11T15:34:01.000+0000 |
| Updated | 2016-07-18T21:13:31.000+0000 |
Description
Apple has [deprecated UIKeyboardAppearanceAlert](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITextInputTraits_Protocol/#//apple_ref/c/tdef/UIKeyboardAppearance) and so should we.
PR pending :https://github.com/appcelerator/titanium_mobile/pull/7779 Test code :
var win = Ti.UI.createWindow({ backgroundColor: 'white' }); var textField = Ti.UI.createTextField({ borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED, color: '#336699', top: 10, left: 10, width: 250, height: 60, keyboardAppearance :Titanium.UI.KEYBOARD_APPEARANCE_ALERT }); win.add(textField); win.open();Verified as fixed, Deprecated message is returned when using
Titanium.UI.KEYBOARD_APPEARANCE_ALERTTested On: iPhone 6S (9.3.2) Device & iPhone 6 Plus (8.3) Device Mac OSX El Capitan 10.11.5 Ti SDK: 5.4.0.v20160713141635 Appc Studio: 4.7.0.201607111053 Appc NPM: 4.2.7 App CLI: 5.4.0-33 Xcode 7.3 Node v4.4.7 *Closing ticket.*