[AC-2437] SystemButtonStyle.BAR and SystemButtonStyle.DONE have same value
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2013-02-02T01:09:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Michael Rushton |
Assignee | Shak Hossain |
Created | 2013-01-11T03:56:15.000+0000 |
Updated | 2016-03-08T07:41:28.000+0000 |
Description
Ti.UI.iPhone.SystemButtonStyle.BAR and Ti.UI.iPhone.SystemButtonStyle.DONE both have integer value 2.
What iOS version was this tested on? (either simulator or actual device) Hope hearing from you soon, Michael.
Hi, sorry, it was iOS 6.
Thanks Michael, I'm not entirely sure to follow here. From docs a [BAR](http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.iPhone.SystemButtonStyle-property-BAR) is used with ButtonBar or TabbedBar only and, [DONE](http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.iPhone.SystemButtonStyle-property-DONE) is used in toolbars and navigation bars, which means constant value is for one of each item. What UI object do you use? Is there a conflict with contants being mixed up? Can you please post a simple sample so I can understand better.
We can't escalate incomplete issues. Please review and complete [Jira checklist](http://docs.appcelerator.com/titanium/latest/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-JIRATicketChecklist).
Hello, We test this issue with the test code below and reproduced the reported scenario. However, it is not a Titanium bug. As per our documentation [SystemButtonStyle.BAR | http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.iPhone.SystemButtonStyle-property-BAR] and [SystemButtonStyle.DONE | http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.iPhone.SystemButtonStyle-property-DONE] are same but have different usages.
Test Environment:
Mac OS X 10.8.6 Ti SDK 3.2.0.GA Ti CLI 3.2.0 IOS simulator 7.0.3Test Code
Thanks
Invalid issue.