Problem
When info system button is added to anything other than toolbar/navbars, it appears distorted (see attached screenshot).
In the following test case, you may notice that I created two info buttons, one for view, the other for toolbar. The one added to view has ' style : Ti.UI.iPhone.SystemButton.INFO_DARK ', which seems not acceptable. But accepting it may itself be a bug. However, it is the only possible way to add info system buttons to view and this feature is quite common everywhere. I'm afraid this distortion may cause Apple rejection.
Test case
//create component instance
var self = Ti.UI.createWindow({
backgroundColor : '#ffffff',
tintColor : 'red'
});
var button1 = Titanium.UI.createButton({
bottom : 64,
left : 16,
style : Ti.UI.iPhone.SystemButton.INFO_DARK,
});
self.add(button1);
var button2 = Titanium.UI.createButton({
systemButton : Ti.UI.iPhone.SystemButton.INFO_DARK,
});
var toolbar = Titanium.UI.iOS.createToolbar({
items : [button2],
bottom : 0,
borderTop : true,
borderBottom : true
});
self.add(toolbar);
self.open();
Moving this ticket to engineering as I can reproduce this issue with the provided test case.
I think this issue should at least receive a priority as soon as possible. An app rejection by Apple seems imminent due to this distortion (it is really a large stretch on the vertical axis).
3.4.0 is moved forward, and 3.5.0 is taking its place in the calendar.
Issue reproduces with TiSDK 3.2.3 and 3.4.0 Titanium Command-Line Interface, CLI version 3.3.0, Titanium SDK version 3.4.0.GA iOS SDK: 7.1 iOS iPhone Simulator: 7.1
APPROVED. PR merged.
Verified as fixed. System Info Icon sizes are unified to one size. Tested on iOS devices and Simulators (8.4 & 9.1). Mac OSX El Capitan 10.11 (15A284) Ti SDK: 5.1.0.v20151028190028 Appc NPM: 4.2.1 Appc CLI: 5.1.0-38 Ti CLI: 5.0.4 Alloy: 1.7.4 Xcode 7.1(7B91b) Node v4.2.1 production *Closing ticket.*