Titanium JIRA Archive
Appcelerator Community (AC)

[AC-476] iOS: 5.1.x Ti.UI.ActivityIndicatorStyle favored, but fails

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionInvalid
Resolution Date2015-10-27T05:54:02.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterSebastian Klaus
AssigneeShak Hossain
Created2015-10-21T08:56:49.000+0000
Updated2015-10-27T05:54:02.000+0000

Description

I get the warning: Titanium.UI.iPhone.ActivityIndicatorStyle.PLAIN DEPRECATED in 5.1.0, in favor of Ti.UI.ActivityIndicatorStyle.PLAIN. But using Ti.UI.ActivityIndicatorStylePLAIN instead of Ti.UI.iPhone.ActivityIndicatorStyle.DARK causes crash TypeError: undefined is not an object (evaluating 'Ti.UI.ActivityIndicatorStyle.PLAIN')

Comments

  1. Sharif AbuDarda 2015-10-25

    Hello, i have tested this issue in SDK 5.1.0.v20151023172822. I have got the warning when i use "Titanium.UI.iPhone.ActivityIndicatorStyle.PLAIN". Now using "Ti.UI.ActivityIndicatorStyle.PLAIN" for iOS seems to work fine. The app didn't crash. I am using the sample code in the documentation link [here](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ActivityIndicator). Thanks.
  2. Sebastian Klaus 2015-10-26

    Don't know why, but in the newest 5.2.x it works without crashing. Issue can be closed. Thanks

JSON Source