Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20390] Ti.UI.KEYBOARD_APPEARANCE_ALERT should be deprecated

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-02-26T17:36:19.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.4.0
ComponentsiOS
Labelsqe-5.4.0
ReporterFokke Zandbergen
AssigneeAngel Petkov
Created2016-02-11T15:34:01.000+0000
Updated2016-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.

Comments

  1. Angel Petkov 2016-02-25

    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();
       
  2. Harry Bryant 2016-07-18

    Verified as fixed, Deprecated message is returned when using Titanium.UI.KEYBOARD_APPEARANCE_ALERT
       // Some comments here
       [WARN] :   Ti.UI.KEYBOARD_APPEARANCE_ALERT DEPRECATED in 5.4.0: REMOVED in 6.0.0
       
    Tested 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.*

JSON Source