Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19258] iOS: $.UI.create("ScrollView") leads to crash on device only

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsios
ReporterMatthias Benkort
AssigneeUnknown
Created2015-07-16T09:14:08.000+0000
Updated2018-02-28T19:55:34.000+0000

Description

Using Alloy 1.6.2 and calling $.UI.create("ScrollView") will cause the app to crash but only on real device with the following message: {color:red}[ERROR] message = "invalid method (createScrollView) passed to UIModule";{color} I am testing with a completely empty new and fresh app on an iPad mini. This is working fine on Simulator or on Android. Any idea?

Comments

  1. Radamantis Torres-Lechuga 2015-07-16

    [~KtorZ] can you please attach a functional test case and steps to reproduce the issue? Thanks
  2. Matthias Benkort 2015-07-16

    Just do the following : create a new empty project (ti create && alloy new) and, in the main default file app/controller/index.js, add the following line : var bug = $.UI.create("ScrollView"); There is nothing more needed to reproduce.
  3. Matthias Benkort 2015-07-20

    Hi, I am currently using iOS 8.2 with Titanium 4.1.0.GA. I am not using Studio, only the CLI. Hope you'll find out.

JSON Source