Affects Version/s: None
-iOS 6.0 (simulator)
-Mac OSX 10.7.2
-Titanium Mobile SDK 3.0.0.GA
-Titanium Studio 22.214.171.124212181159
There is a regression in SDK 3.0.0.GA that prevents a button's click event from firing when the button is created in a require()d unit.
Works in SDK 2.1.4.GA
Broken in SDK 3.0.0.GA
Note that this works fine on Android under SDK 3.0.0.GA (and SDK 2.1.4.GA)...the problem only exists on iOS.
Run the following code and click the button. A console message should appear when the button is clicked, and the button's title should change to "Clicked!", but under SDK 3.0.0.GA this does not happen.
Note that this testcase is reduced down to the smallest reproducable code from a very large app.