Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1485

A picker declared in a list template does not get included in the ios app

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: None
    • Component/s: Alloy
    • Environment:

      iOs 7.1 Iphone 5s

      Description

      In a listView I declare this template
      <ItemTemplate name="TimePicker" height="Titanium.UI.SIZE">
      <Picker bindId="picker" width="Titanium.UI.FILL" type="Ti.UI.PICKER_TYPE_TIME"/>
      </ItemTemplate>

      I then run the app in the emulator it works fine but when I compile it for an iPhone 5s the app crashes as soon as I open the window containing the Picker.

      From the console log this is the issue:
      Class not found: Ti.UI.Picker

      Workaround:
      If in the controller i add
      Ti.UI.createPicker();
      the compiler includes the picker and the app works fine

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ragrawal Ritu Agrawal
                Reporter:
                nicco82 Niccolo Perra
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code