In the code below, NONE of my buttons will execute any click Event in iOS but works perfect in Android.
(I am just using a simple Ti.API.info('test); in the .js file....so didn't bother pasting here.
Is this a known bug in iOS?
TI: 3.3.0
iOS: 6.1 or 7.1 (both won't work)
Android: 2.3.7 - 4.4.2 all work fine
Mac Mavericks
~~~
<Alloy>
<Window id="policyWin">
<!--Bread Crumbs Container -->
<View width="100%" height="Ti.UI.SIZE" layout="horizontal" class="viewBlueBG" top="0">
<Label icon="fa-file" class="fa fa-fw breadCrumbs1"> Policy</Label>
</View>
<ScrollView layout="vertical" width="100%" height="Ti.UI.FILL" scrollType="vertical">
<!--Main Content Container-->
<View layout="horizontal" class="policyBackgroundImage">
<!--Top Information Section-->
<View width="100%" height="190" layout="horizontal">
<!--Top Left Detail Section-->
<View width="50%" height="Ti.UI.SIZE" layout="vertical">
<TextArea class="transDetail1 bold1" value="Status" />
<TextArea class="transDetail1 top statusGreen" value="In Force" />
</View>
<View width="50%" height="200" layout="vertical">
<ImageView class="blueDetail1FlexSpace" />
<TextArea class="blueDetail1 bold1" value="Last Payment" />
<TextArea class="blueDetail1 top" value="Aug 10, 2014 \n $125.67" />
<ImageView class="blueDetail1FlexSpace" />
<TextArea class="blueDetail1 bold1" value="Next Payment" />
<TextArea class="blueDetail1 top" value="Due: Sep 9, 2014 \n $124.33" />
<ImageView class="blueDetail1FlexSpace" />
</View>
</View>
<!--Gray Action Buttons -->
<View width="100%" height="50" layout="horizontal">
<Label icon="fa-camera" class="fa fa-3x whiteButton1" id="idCardButton" name="idCard" onClick="doClick" > ID Card </Label>
<ImageView class="grayButtonFlexSpace" />
<Label icon="fa-usd" class="fa fa-3x grayButton1" id="payButton" onClick="payNow" > Pay Now </Label>
</View>
</View>
<!--Detail Info Container-->
<ScrollableView id="scrollableView" layout="vertical" width="100%" height="Ti.UI.FILL" touchEnabled="true" bubbleParent="true">
<View id="view1" width="100%" height="Ti.UI.SIZE" top="0" left="0" layout="vertical" bubbleParent="true" touchEnabled="true">
<View width="100%" height="Ti.UI.SIZE" layout="horizontal" touchEnabled="true" bubbleParent="true">
<Label icon="fa-camera" class="fa fa-3x scrollTabOn" name="pg1tab1" tabNumber="1" width="34%"> Summary</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg1tab2" tabNumber="2" onClick="scrollToPage" width="22%"> Vehicles</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg1tab3" tabNumber="3" onClick="scrollToPage" width="22%"> Drivers</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg1tab4" tabNumber="4" onClick="scrollToPage" width="21%"> Agent</Label>
</View>
</View>
<View id="view2" width="100%" height="Ti.UI.SIZE" top="0" left="0" layout="vertical">
<View width="100%" height="Ti.UI.SIZE" layout="horizontal">
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg2tab1" onClick="doClick" width="22%"> Summary</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOn" name="pg2tab2" onClick="doClick" width="34%"> Vehicles</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg2tab3" onClick="doClick" width="22%"> Drivers</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg2tab4" onClick="doClick" width="21%"> Agent</Label>
</View>
<Label icon="fa-file-text" class="fa fa-3x column1of2 blueButton14" id="carTitleButton" name="carTitleURL" onClick="doClick" > Car Title </Label>
</View>
<View id="view3" width="100%" height="Ti.UI.SIZE" top="0" left="0" layout="vertical">
<View width="100%" height="Ti.UI.SIZE" layout="horizontal">
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg3tab1" onClick="doClick" width="22%"> Summary</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg3tab2" onClick="doClick" width="22%"> Vehicles</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOn" name="pg3tab3" onClick="doClick" width="34%"> Drivers</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg3tab4" onClick="doClick" width="21%"> Agent</Label>
</View>
</View>
<View id="view4" width="100%" height="Ti.UI.SIZE" top="0" left="0" layout="vertical">
<View width="100%" height="Ti.UI.SIZE" layout="horizontal">
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg4tab1" onClick="doClick" width="22%"> Summary</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg4tab2" onClick="doClick" width="22%"> Agent</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOff" name="pg4tab3" onClick="doClick" width="21%"> Vehicles</Label>
<Label icon="fa-camera" class="fa fa-3x scrollTabOn" name="pg4tab4" width="34%"> Drivers</Label>
</View>
</View>
</ScrollableView>
</ScrollView>
<Widget id="fa" src="com.mattmcfarland.fontawesome" />
</Window>
</Alloy>
~~~
↧